hive-issues mailing list archives

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

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

ASF GitHub Bot updated HIVE-25399:
----------------------------------
    Labels: pull-request-available  (was: )

> 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
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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