[ 
https://issues.apache.org/jira/browse/HIVE-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647786#action_12647786
 ] 

Joydeep Sen Sarma commented on HIVE-5:
--------------------------------------

do we really need this? 

the current command is modeled after the export shell command. export x=y sets 
the variable. export with no args prints all the current settings. we are 
missing an equivalent of export -n (to unset stuff).

if this is not a good model - then we should switch it with something different 
altogether. 

> "set" command is case-sensitive; also lacks "EXTENDED" support, as documented 
> on http://wiki.apache.org/hadoop/Hive/HiveQL
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-5
>                 URL: https://issues.apache.org/jira/browse/HIVE-5
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Jeff Hammerbacher
>
> When I try to run "SET;" from the Hive shell, I get a parse error (FAILED: 
> Parse Error: line 1:0 cannot recognize input 'SET'). It works if I run 
> "set;". Also, when I try to run "set extended;", I get a new kind of error, 
> with error message "extended is undefined".
> On another note, can we alias "SET;" to something more descriptive, like 
> "SHOW VARIABLES" (e.g. 
> http://dev.mysql.com/doc/refman/5.0/en/show-variables.html)?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to