doris

doris: shell invoke .sql script for doris and passing values for parameters in sql script.

拥有回忆 提交于 2019-12-03 11:24:49
1. background in most cases, we want to execute sql script in doris routinely. using azkaban, to load data,etc.And we want to pass parameters to the sql script file. we can easily handle such situation in hive. 1.1 hive usage: using -hiveconf: or -hivevar: shell file: we want to pass 2 parameters into hive sql script: p_partition_d & p_partition_to_delete : which pass two parameters into hive.sql file using -hivevar {variable_name}={variable_value} #!/bin/bash CURRENT_DIR=$(cd `dirname $0`; pwd) echo "CURRENT_DIR:"${CURRENT_DIR} APPLICATION_ROOT_DIR=$(cd ${CURRENT_DIR}/..;pwd) echo

[转]Apache Doris资料汇总

泪湿孤枕 提交于 2019-11-26 20:57:49
参考资料 https://www.toutiao.com/i6709706901770207748/?tt_from=weixin&utm_campaign=client_share&wxshare_count=1&timestamp=1565444342&app=news_article&utm_source=weixin&utm_medium=toutiao_ios&req_id=201908102139010100160620129197FEE&group_id=6709706901770207748 https://github.com/apache/incubator-doris/wiki/Doris-Create%2C-Load-and-Delete https://github.com/apache/incubator-doris/wiki/Data-Model%2C-Rollup-%26-Prefix-Index http://doris.apache.org/ http://palo.baidu.com:8080/ 来源: https://www.cnblogs.com/DarrenChan/p/11333173.html