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

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

Qifan Pu created SPARK-16269:
--------------------------------

             Summary: 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