进入impala shell,port为Impala Daemon Beeswax 端口
impala-shell -i ip:port -k
使用impala shell直接运行SQL
impala-shell -i ip:port -k --quiet -B -d default -q "select count(*) from table1 where ds=\'2021-01-20\'"
退出
exit;
进入impala shell,port为Impala Daemon Beeswax 端口
impala-shell -i ip:port -k
使用impala shell直接运行SQL
impala-shell -i ip:port -k --quiet -B -d default -q "select count(*) from table1 where ds=\'2021-01-20\'"
退出
exit;
相关文章: