hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuedong Luan (Jira)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-25399) Make command splitting consistent between beeline and hive cli
Date Wed, 28 Jul 2021 11:44:01 GMT

     [ https://issues.apache.org/jira/browse/HIVE-25399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xuedong Luan updated HIVE-25399:
--------------------------------
    Description: 
Make command splitting consistent between beeline and hive cli

below sql can execute by beeline ,but  hive cli will throw exception:

select 
1 as a, -- hello; 
2 as b;

hive> 
 > 
 > 
 > 
 > 
 > 
 > select
 > 1 as a, -- hello;
select
1 as a, -- hello
FAILED: ParseException line 2:6 extraneous input ',' expecting EOF near '<EOF>'
hive> 2 as b;
2 as b

  was:Make command splitting consistent between beeline and hive cli


> Make command splitting consistent between beeline and hive cli
> --------------------------------------------------------------
>
>                 Key: HIVE-25399
>                 URL: https://issues.apache.org/jira/browse/HIVE-25399
>             Project: Hive
>          Issue Type: Improvement
>          Components: CLI
>    Affects Versions: 3.1.2
>            Reporter: Xuedong Luan
>            Assignee: Xuedong Luan
>            Priority: Minor
>
> Make command splitting consistent between beeline and hive cli
> below sql can execute by beeline ,but  hive cli will throw exception:
> select 
> 1 as a, -- hello; 
> 2 as b;
> hive> 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > select
>  > 1 as a, -- hello;
> select
> 1 as a, -- hello
> FAILED: ParseException line 2:6 extraneous input ',' expecting EOF near '<EOF>'
> hive> 2 as b;
> 2 as b



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message