You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:21:16 UTC

[jira] [Updated] (SPARK-12474) support deserialization for physical plan and hive logical plan from JSON string

     [ https://issues.apache.org/jira/browse/SPARK-12474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-12474:
---------------------------------
    Labels: bulk-closed  (was: )

> support deserialization for physical plan and hive logical plan from JSON string
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-12474
>                 URL: https://issues.apache.org/jira/browse/SPARK-12474
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>            Reporter: Wenchen Fan
>            Priority: Minor
>              Labels: bulk-closed
>
> SPARK-12321 add a framework based on reflection that can serialize {{TreeNode}} to JSON and deserialize it back. However, it can't handle all corner cases and we bypass them in the test, see https://github.com/apache/spark/pull/10311/files#diff-238d584c15e16c24f49a40bcf163fe13R190 and https://github.com/apache/spark/pull/10311/files#diff-238d584c15e16c24f49a40bcf163fe13R212.
> known corner cases:
> 1. ExpressionEncoder
> 2. BaseRelation
> 3. hive logical plan
> 4. physical plan
> The framework is in catalyst module and may not be able to handle corner cases from other modules, an idea is defining a {{JsonSerializable}} trait and implement it for corner cases.



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