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";