Kazuaki Ishizaki created SPARK-19008:
----------------------------------------

             Summary: Avoid boxing/unboxing overhead of calling a lambda with 
primitive type from Dataset program
                 Key: SPARK-19008
                 URL: https://issues.apache.org/jira/browse/SPARK-19008
             Project: Spark
          Issue Type: Improvement
          Components: SQL
            Reporter: Kazuaki Ishizaki


In this 
[discussion|https://github.com/apache/spark/pull/16391#discussion_r93788919] 
betweem [~cloud_fan] and [~kiszk], we noticed an opportunity to avoid 
boxing/unboxing overhead when a Dataset program calls a lambda, which operates 
on a primitive type, written in Scala.
In such a case, Catalyst can directly call a method {{<primitiveType> 
apply(<primitiveType>);}} instead of {{Object apply(Object);}}.

Of course, the best solution seems to be 
[here|https://issues.apache.org/jira/browse/SPARK-14083].



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to