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/10/21 01:02:00 UTC

[jira] [Commented] (SPARK-25791) Datatype of serializers in RowEncoder should be accessible

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

Apache Spark commented on SPARK-25791:
--------------------------------------

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

> Datatype of serializers in RowEncoder should be accessible
> ----------------------------------------------------------
>
>                 Key: SPARK-25791
>                 URL: https://issues.apache.org/jira/browse/SPARK-25791
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Liang-Chi Hsieh
>            Priority: Major
>
> The serializers of {{RowEncoder}} use few {{If}} Catalyst expression which inherits {{ComplexTypeMergingExpression}} that will check input data types.
> It is possible to generate serializers which fail the check and can't to access the data type of serializers. When producing {{If}} expression, we should use the same data type at its input expressions.



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