Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/hadoop/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Hadoop 输出/回显hql/hive查询语言中的meesage_Hadoop_Hive - Fatal编程技术网

Hadoop 输出/回显hql/hive查询语言中的meesage

Hadoop 输出/回显hql/hive查询语言中的meesage,hadoop,hive,Hadoop,Hive,我需要创建一个hive.hql,如下所示 HIVE.hql: select * from tabel1; select * from table2; 我的问题是:在创建表1之后,我是否可以在hql代码中向控制台回显任何消息,如“从表1获得结果”,如 select * from tabel1; echo/print/output ("table 1 results obtained"); select * from table2; 在*.hql文件中,在两个配置单元查询之间插入一行,如下所示

我需要创建一个hive.hql,如下所示

HIVE.hql:

select * from tabel1;
select * from table2;
我的问题是:在创建表1之后,我是否可以在hql代码中向控制台回显任何消息,如“从表1获得结果”,如

select * from tabel1;
echo/print/output ("table 1 results obtained");
select * from table2;

在*.hql文件中,在两个配置单元查询之间插入一行,如下所示

!echo "table 1 results obtained";