[ 
https://issues.apache.org/jira/browse/HIVE-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020040#comment-13020040
 ] 

Adam Kramer commented on HIVE-1731:
-----------------------------------

SELECT a.id, VAR(a.cnt) FROM mytable a
FAILED: Error in semantic analysis: line 1:94 Expression Not In Group By Key a

...what this error message should say is "Function VAR is either undefined or 
it is not an aggregation function."
...and even if this were a GOOD message, it means "expression not in group by 
key a.cnt"...just saying a is useless.

> Improve miscellaneous error messages
> ------------------------------------
>
>                 Key: HIVE-1731
>                 URL: https://issues.apache.org/jira/browse/HIVE-1731
>             Project: Hive
>          Issue Type: Improvement
>          Components: Diagnosability, Query Processor
>            Reporter: John Sichi
>
> This is a place for accumulating error message improvements so that we can 
> update a bunch in batch.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to