You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/29 01:41:27 UTC

[jira] [Commented] (SPARK-16269) Support null handling for vectorized hashmap during hash aggregate

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

Apache Spark commented on SPARK-16269:
--------------------------------------

User 'ooq' has created a pull request for this issue:
https://github.com/apache/spark/pull/13960

> Support null handling for vectorized hashmap during hash aggregate
> ------------------------------------------------------------------
>
>                 Key: SPARK-16269
>                 URL: https://issues.apache.org/jira/browse/SPARK-16269
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Qifan Pu
>            Priority: Minor
>
> The current impl of vectorized hashmap does not support null keys. This patch fix the problem by adding `generateFindOrInsertWithNullable()` method in `VectorizedHashMapGenerator.scala`, which code-generates another version of `findOrInsert` that handles null keys. We need null support so the aggregate logic does not have to fallback to BytesToBytesMap. This would also us to remove BytesToBytesMap completely.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org