You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jesus Camacho Rodriguez (Jira)" <ji...@apache.org> on 2020/07/24 01:15:00 UTC
[jira] [Resolved] (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 ]
Jesus Camacho Rodriguez resolved HIVE-23898.
--------------------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Pushed to master, thanks [~kkasa]!
> 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
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 20m
> 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)