You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashish Thusoo (JIRA)" <ji...@apache.org> on 2009/01/10 16:25:59 UTC
[jira] Updated: (HIVE-222) Group by on a combination of disitinct
and non distinct aggregates can return serialization errors with map side
aggregations.
[ https://issues.apache.org/jira/browse/HIVE-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashish Thusoo updated HIVE-222:
-------------------------------
Priority: Blocker (was: Major)
Affects Version/s: 0.2.0
Fix Version/s: 0.2.0
> Group by on a combination of disitinct and non distinct aggregates can return serialization errors with map side aggregations.
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-222
> URL: https://issues.apache.org/jira/browse/HIVE-222
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Query Processor
> Affects Versions: 0.2.0
> Reporter: Ashish Thusoo
> Assignee: Ashish Thusoo
> Priority: Blocker
> Fix For: 0.2.0
>
>
> For queries of the form (groupby2_map.q in the source)
> SELECT x, count(DISTINCT y), SUM(y) FROM t GROUP BY x
> when map side aggregation is on
> hive.map.aggr=true (This is off by default)
> The following exception can occur:
> [junit] Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Double
> [junit] at org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDeTypeDouble.serialize(DynamicSerDeTypeDouble.java:60)
> [junit] at org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDeFieldList.serialize(DynamicSerDeFieldList.java:235)
> [junit] at org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDeStructBase.serialize(DynamicSerDeStructBase.java:81)
> [junit] at org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe.serialize(DynamicSerDe.java:174)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.