[ 
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)

Reply via email to