You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2018/11/26 03:49:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Wenchen Fan resolved SPARK-24762.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 21732
[https://github.com/apache/spark/pull/21732]

> 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