2015-02-24 47 views
4

我需要按如下所示創建hive.hql。輸出/在hql/hive查詢語言中回顯meepage

HIVE.hql:

select * from tabel1; 
select * from table2; 

我的問題是:我可以重複任何消息,我的控制檯如表一個像

select * from tabel1; 
echo/print/output ("table 1 results obtained"); 
select * from table2; 
創建後,「從表1的結果是獲得了」在HQL代碼

回答

12

在* .hql文件中,在兩個配置單元查詢之間插入一行,如下所示。

!echo「table 1 results obtained」;