Description
After applying HIVE-13864, multiple line queries that have comment at the end of one of the middle lines fail when executed via beeline -e
$ beeline -u "<jdbc-url>" -e "select 1, --test > 2" scan complete in 3ms ...... Transaction isolation: TRANSACTION_REPEATABLE_READ Error: Error while compiling statement: FAILED: ParseException line 1:9 cannot recognize input near '<EOF>' '<EOF>' '<EOF>' in selection target (state=42000,code=40000) Closing: 0: jdbc:hive2://host-10-17-80-194.coe.cloudera.com:10000/default;principal=hive/host-10-17-80-194.coe.cloudera.com@YSHI.COM;ssl=true;sslTrustStore=/certs/hive/hive-keystore.jks;trustStorePassword=cloudera
Attachments
Attachments
Issue Links
- is broken by
-
HIVE-13864 Beeline ignores the command that follows a semicolon and comment
- Resolved
- is related to
-
HIVE-14481 Remove the comments from the query
- Resolved
- is superceded by
-
HIVE-16935 Hive should strip comments from input before choosing which CommandProcessor to run.
- Closed