[ https://issues.apache.org/jira/browse/HIVE-3141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452275#comment-13452275 ]
Carl Steinbach commented on HIVE-3141: -------------------------------------- HiveParser.java is autogenerated by ANTLR using the Hive grammar file located here: ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g bq. Another option is to modify parse() method in ParseDriver.java to add extra verification for the syntax .All the services like cli,hiveserver uses this method for parsing. Let me know your comments. The right place for this check is probably somewhere in the SemanticAnalyzer class. Please take a look at this, and in particular pay attention to the places where SemanticExceptions are thrown. > Bug in SELECT query > ------------------- > > Key: HIVE-3141 > URL: https://issues.apache.org/jira/browse/HIVE-3141 > Project: Hive > Issue Type: Bug > Components: CLI > Affects Versions: 0.9.0 > Environment: OS: Ubuntu > Hive version: hive-0.7.1-cdh3u2 > Hadoop : hadoop-0.20.2 > Reporter: ASK > Priority: Minor > Labels: patch > Attachments: HIVE-3141.2.patch.txt, Hive_bug_3141_resolution.pdf, > select_syntax.q, select_syntax.q.out > > > When i try to execute select *(followed by any alphanumeric character) from > table , query is throwing some issues. It display the result for select * > It doesnot happen when only numbers follow the * -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira