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

Ferdinand Xu commented on HIVE-11640:
-------------------------------------

The only impact is we need to use ";" to terminate all commands including those 
cmds starting with "!". And this is a general changes.
For example, you can execute "!sh ls" in the past and now you need to use it by 
"!sh ls;". And for the new cli, it is always using ";" to terminate a command. 
The main reason I do this is to support the example in my last comments.
In the past, command "show tables;!ls;show tables;" will fail since it treats 
"ls;show tables;" as an entire. In the wiki, we mentioned ";" is a terminate 
but for those sqline native command or some commands like connect, there's no 
terminate actually. So I am thinking about using the same terminate for both of 
them.

> Shell command doesn't work for new CLI[Beeline-cli branch]
> ----------------------------------------------------------
>
>                 Key: HIVE-11640
>                 URL: https://issues.apache.org/jira/browse/HIVE-11640
>             Project: Hive
>          Issue Type: Sub-task
>          Components: CLI
>            Reporter: Ferdinand Xu
>            Assignee: Ferdinand Xu
>         Attachments: HIVE-11640.1-beeline-cli.patch, 
> HIVE-11640.2-beeline-cli.patch, HIVE-11640.3-beeline-cli.patch, 
> HIVE-11640.4-beeline-cli.patch
>
>
> The shell command doesn't work for the new CLI and "Error: Method not 
> supported (state=,code=0)" was thrown during the execution for option f and e.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to