You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2020/07/22 11:53:00 UTC

[jira] [Updated] (HIVE-23898) Query fails if identifier contains double quotes or semicolon char

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

Krisztian Kasa updated HIVE-23898:
----------------------------------
    Description: 
{code}
CREATE TABLE `t;`(a int);
{code}
{code}
[ERROR]   TestMiniLlapLocalCliDriver.testCliDriver:62 Client execution failed with error code = 40000 
running 
CREATE TABLE `t 
fname=test.q

See ./ql/target/tmp/log/hive.log or ./itests/qtest/target/tmp/log/hive.log, or check ./ql/target/surefire-reports or ./itests/qtest/target/surefire-reports/ for specific test cases logs.
 org.apache.hadoop.hive.ql.parse.ParseException: line 2:15 character '<EOF>' not supported here
{code}
{code}
CREATE TABLE `t"`(a int);
{code}
{code}
CREATE TABLE `t"`(a int);
 
fname=test.q

See ./ql/target/tmp/log/hive.log or ./itests/qtest/target/tmp/log/hive.log, or check ./ql/target/surefire-reports or ./itests/qtest/target/surefire-reports/ for specific test cases logs.
 org.apache.hadoop.hive.ql.parse.ParseException: line 3:24 extraneous input ';' expecting EOF near '<EOF>'
{code}


  was:
{code}
CREATE TABLE `t;`(a int);
{code}
{code}
CREATE TABLE `t"`(a int);
{code}
{code}
[ERROR]   TestMiniLlapLocalCliDriver.testCliDriver:62 Client execution failed with error code = 40000 
running 
CREATE TABLE `t 
fname=test.q

See ./ql/target/tmp/log/hive.log or ./itests/qtest/target/tmp/log/hive.log, or check ./ql/target/surefire-reports or ./itests/qtest/target/surefire-reports/ for specific test cases logs.
 org.apache.hadoop.hive.ql.parse.ParseException: line 2:15 character '<EOF>' not supported here
{code}



> Query fails if identifier contains double quotes or semicolon char
> ------------------------------------------------------------------
>
>                 Key: HIVE-23898
>                 URL: https://issues.apache.org/jira/browse/HIVE-23898
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI, Parser
>            Reporter: Krisztian Kasa
>            Assignee: Krisztian Kasa
>            Priority: Major
>
> {code}
> CREATE TABLE `t;`(a int);
> {code}
> {code}
> [ERROR]   TestMiniLlapLocalCliDriver.testCliDriver:62 Client execution failed with error code = 40000 
> running 
> CREATE TABLE `t 
> fname=test.q
> See ./ql/target/tmp/log/hive.log or ./itests/qtest/target/tmp/log/hive.log, or check ./ql/target/surefire-reports or ./itests/qtest/target/surefire-reports/ for specific test cases logs.
>  org.apache.hadoop.hive.ql.parse.ParseException: line 2:15 character '<EOF>' not supported here
> {code}
> {code}
> CREATE TABLE `t"`(a int);
> {code}
> {code}
> CREATE TABLE `t"`(a int);
>  
> fname=test.q
> See ./ql/target/tmp/log/hive.log or ./itests/qtest/target/tmp/log/hive.log, or check ./ql/target/surefire-reports or ./itests/qtest/target/surefire-reports/ for specific test cases logs.
>  org.apache.hadoop.hive.ql.parse.ParseException: line 3:24 extraneous input ';' expecting EOF near '<EOF>'
> {code}



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