getText method of ErrorMsg uses only the rightmost node in AST to construct
message
-----------------------------------------------------------------------------------
Key: HIVE-2830
URL: https://issues.apache.org/jira/browse/HIVE-2830
Project: Hive
Issue Type: Bug
Reporter: Kevin Wilfong
Priority: Minor
The getText method of ErrorMsg uses only the rightmost node of the AST to
construct the error message, which is not enough in some cases.
For example, INVALID_ARGUMENT, which is used by TypeCheckProcFactory, says this
rightmost node is an invalid argument, however, if it is the type of the result
of the function acting on that argument that makes it invalid, it is actually
the function and the argument to that function which are together an invalid
argument to whatever function is being type checked.
--
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