hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Yang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-1184) Expression Not In Group By Key error is sometimes masked
Date Thu, 25 Feb 2010 05:52:28 GMT

     [ https://issues.apache.org/jira/browse/HIVE-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul Yang updated HIVE-1184:
----------------------------

    Attachment: HIVE-1184.2.patch

>From an offline conversation - the solution still works for cases like "concat(value,
concat(value))" because the error is only set with the first "value" - node processors terminate
early when the global error is set. 

* Added better comments.

> Expression Not In Group By Key error is sometimes masked
> --------------------------------------------------------
>
>                 Key: HIVE-1184
>                 URL: https://issues.apache.org/jira/browse/HIVE-1184
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>            Reporter: Paul Yang
>            Assignee: Paul Yang
>         Attachments: HIVE-1184.1.patch, HIVE-1184.2.patch
>
>
> Depending on the order of expressions, the error message for a expression not in group
key is not displayed; instead it is null.
> {code}
> hive> select concat(value, concat(value)) from src group by concat(value);
> FAILED: Error in semantic analysis: null
> hive> select concat(concat(value), value) from src group by concat(value);
> FAILED: Error in semantic analysis: line 1:29 Expression Not In Group By Key value
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message