[ https://issues.apache.org/jira/browse/SPARK-33007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17207780#comment-17207780 ]
Apache Spark commented on SPARK-33007: -------------------------------------- User 'viirya' has created a pull request for this issue: https://github.com/apache/spark/pull/29942 > Optimize to_json + named_struct + from_json expression chain > ------------------------------------------------------------ > > Key: SPARK-33007 > URL: https://issues.apache.org/jira/browse/SPARK-33007 > Project: Spark > Issue Type: Sub-task > Components: SQL > Affects Versions: 3.1.0 > Reporter: L. C. Hsieh > Assignee: L. C. Hsieh > Priority: Major > > Due to query optimization, it is possibly to generate inefficient json > expression chain like to_json(named_struct(col1, from_json(json).col1, col2, > from_json(json).col2), ....). We could optimize it. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org