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 2016/07/02 12:28:11 UTC
[jira] [Commented] (SPARK-16351) Avoid record-per type dispatch in
JSON when writing
[ https://issues.apache.org/jira/browse/SPARK-16351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15360162#comment-15360162 ]
Apache Spark commented on SPARK-16351:
--------------------------------------
User 'HyukjinKwon' has created a pull request for this issue:
https://github.com/apache/spark/pull/14028
> Avoid record-per type dispatch in JSON when writing
> ---------------------------------------------------
>
> Key: SPARK-16351
> URL: https://issues.apache.org/jira/browse/SPARK-16351
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.0.0
> Reporter: Hyukjin Kwon
>
> Currently, {{JacksonGenerator.apply}} is doing type-based dispatch for each row to write appropriate values.
> It might not have to be done like this because the schema of {{DataFrame}} is already there.
> So, appropriate writers can be created first according to the schema, and then apply them to each row. This approach is similar with {{CatalystWriteSupport}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org