hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hezhiqiang (Ransom)" <ransom.hezhiqi...@huawei.com>
Subject 答复: Hive CLI (v0.8.1) -e option trowing parse error all the time
Date Mon, 20 Feb 2012 06:03:23 GMT
Try hive -e ‘desc temp_logs’
Whitout  “;”



Best regards
Ransom.

发件人: Abhishek Parolkar [mailto:abhishek@viki.com] 
发送时间: 2012年2月20日 11:53
收件人: user@hive.apache.org
主题: Hive CLI (v0.8.1) -e option trowing parse error all the time

Hi All:

  I am trying to get -e option in hive CLI work for me. Looks like it isn't straight forward.


hadoopnode1:~ hadoop$ hive
hive> desc temp_logs;
OK
log_time	string	
namespace	string	
json	string	
ds	string	
hour	string	
Time taken: 2.832 seconds
hive> exit; 


          
hadoopnode1:~ hadoop$ hive -e "desc temp_logs;"
FAILED: Parse Error: line 1:0 cannot recognize input near 'desc' '<EOF>' '<EOF>'
in describe statement



What is -e expecting the query to be?



-v_abhi_v


Mime
View raw message