[
https://issues.apache.org/jira/browse/HIVE-23898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17164068#comment-17164068
]
Jesus Camacho Rodriguez commented on HIVE-23898:
------------------------------------------------
+1
> 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
> 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)