tonglin0325的个人主页

Impala学习笔记——impala shell

进入impala shell,port为Impala Daemon Beeswax 端口

1
2
impala-shell -i ip:port -k

使用impala shell直接运行SQL

1
2
impala-shell -i ip:port -k --quiet -B -d default -q "select count(*) from table1 where ds='2021-01-20'"

退出

1
2
exit;