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 2018/11/26 09:18:00 UTC

[jira] [Commented] (SPARK-24762) Aggregator should be able to use Option of Product encoder

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

Apache Spark commented on SPARK-24762:
--------------------------------------

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

> Aggregator should be able to use Option of Product encoder
> ----------------------------------------------------------
>
>                 Key: SPARK-24762
>                 URL: https://issues.apache.org/jira/browse/SPARK-24762
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Liang-Chi Hsieh
>            Assignee: Liang-Chi Hsieh
>            Priority: Major
>             Fix For: 3.0.0
>
>
> Encoders has a limitation that we can't construct encoders for Option of Product at top-level, because in SparkSQL entire row can't be null.
> However for some use cases such as Aggregator, it should be able to construct encoders for Option of Product at non top-level.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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