Hive CLI是Hive的交互工具,下面演示几种CLI的使用。
直接输入#<HIVE_HOME>/bin/hive启动,具体如图1所示。
图1 /bin/hive启动方式
hive> exit; hive> quit;
hive> show tables;
hive> show functions;
hive> !clear