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

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

     [ https://issues.apache.org/jira/browse/HIVE-23898?focusedWorklogId=462015&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-462015 ]

ASF GitHub Bot logged work on HIVE-23898:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Jul/20 12:00
            Start Date: 22/Jul/20 12:00
    Worklog Time Spent: 10m 
      Work Description: kasakrisz opened a new pull request #1295:
URL: https://github.com/apache/hive/pull/1295


   Testing done:
   ```
   mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestMiniLlapLocalCliDriver -Dqfile=quotedid_basic.q,quotedid_basic_standard.q -pl itests/qtest -Pitests
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 462015)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {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}
> [ERROR] Failures: 
> [ERROR]   TestMiniLlapLocalCliDriver.testCliDriver:62 Client execution failed with error code = 40000 
> running 
> 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)