You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2018/03/22 00:41:00 UTC
[jira] [Commented] (HIVE-19018) beeline -e now requires semicolon
even when used with query from command line
[ https://issues.apache.org/jira/browse/HIVE-19018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16408840#comment-16408840 ]
Aihua Xu commented on HIVE-19018:
---------------------------------
patch-1: add setAllowMultiLineCommand(false) for the "-e" option since multiple line commands are not allowed for such case. Then beeline will process the whole line as a complete command and not wait for additional input.
> beeline -e now requires semicolon even when used with query from command line
> -----------------------------------------------------------------------------
>
> Key: HIVE-19018
> URL: https://issues.apache.org/jira/browse/HIVE-19018
> Project: Hive
> Issue Type: Bug
> Components: Beeline
> Affects Versions: 3.0.0
> Reporter: Aihua Xu
> Assignee: Aihua Xu
> Priority: Major
> Attachments: HIVE-19018.1.patch
>
>
> Right now if you execute {{beeline -u "jdbc:hive2://" -e "select 3"}}, beeline console will wait for you to enter ';". It's a regression from the old behavior.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)