You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "feiwang (JIRA)" <ji...@apache.org> on 2019/02/28 08:11:00 UTC

[jira] [Updated] (HIVE-21345) Hive CLIDriver parses sql statement incorrectly

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

feiwang updated HIVE-21345:
---------------------------
    Description: 
Hive parse statement incorrectly when there is a semicolon in  a pair of double quote. 

For example:
 The statement:
{code:java}
select * from table_a where column_a not like "%;";{code}
Will be parsed to:
{code:java}
select * from table_a where column_a not like "%{code}

> Hive CLIDriver  parses sql statement  incorrectly
> -------------------------------------------------
>
>                 Key: HIVE-21345
>                 URL: https://issues.apache.org/jira/browse/HIVE-21345
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.1.1, 2.3.4
>            Reporter: feiwang
>            Assignee: feiwang
>            Priority: Major
>
> Hive parse statement incorrectly when there is a semicolon in  a pair of double quote. 
> For example:
>  The statement:
> {code:java}
> select * from table_a where column_a not like "%;";{code}
> Will be parsed to:
> {code:java}
> select * from table_a where column_a not like "%{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)