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

Xuefu Zhang commented on HIVE-11746:
------------------------------------

Hi [~Ferd], thanks for working on this. I'm not sure if I understand  the 
reason behind of introducing a variable isFromConsole. To me, it seems that 
!connect should be disabled for new Hive CLI regardless whether the command is 
from console or a script file. In addition, Thus, the variable should be really 
"isBeeline", which is already available. Any thoughts?

> Connect command should not to be allowed from user[beeline-cli branch]
> ----------------------------------------------------------------------
>
>                 Key: HIVE-11746
>                 URL: https://issues.apache.org/jira/browse/HIVE-11746
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Beeline
>            Reporter: Ferdinand Xu
>            Assignee: Ferdinand Xu
>         Attachments: HIVE-11746.1-beeline-cli.patch
>
>
> For new cli, user should not be allowed to connect a server or database.



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

Reply via email to