spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cloud-fan <...@git.apache.org>
Subject [GitHub] spark issue #13909: [SPARK-16213][SQL] Reduce runtime overhead of a program ...
Date Fri, 18 Nov 2016 11:51:06 GMT
Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/13909
  
    I'd like to introduce a new expression: `CreatePrimitiveArray`. In the optimizer if we
find the element type is primitive type, replace `CreateArray` with `CreatePrimitiveArray`.
    
    BTW, we don't need to require all expressions to be non-nullable, we can just put a default
value to the primitive array if that element is null, and call `UnsafeArrayData.setNullAt`
later. (we need to implement ArrayData.setNullAt though)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message