[ https://issues.apache.org/jira/browse/HIVE-2525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141246#comment-13141246 ]
Ning Zhang commented on HIVE-2525: ---------------------------------- I agree with Namit. The right approach is to throw a better error message in the parser rather than adding a special checking for a specific negative case. There are a lot of such negative cases. If we add checks for all of them, it becomes cumbersome and redundant in terms of parser's functionality. > Introduce proper error messages, when explain fails on commands that > otherwise could be succesful (commands that are not analyzed by Semantic > Analyzer) > ------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HIVE-2525 > URL: https://issues.apache.org/jira/browse/HIVE-2525 > Project: Hive > Issue Type: Improvement > Reporter: Robert Surówka > Assignee: Robert Surówka > Priority: Trivial > Attachments: HIVE-2525.1.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira