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/10 09:46:00 UTC
[jira] [Commented] (SPARK-25700) Avoid to create a readsupport at
write path in Data Source V2
[ https://issues.apache.org/jira/browse/SPARK-25700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16644732#comment-16644732 ]
Apache Spark commented on SPARK-25700:
--------------------------------------
User 'HyukjinKwon' has created a pull request for this issue:
https://github.com/apache/spark/pull/22686
> Avoid to create a readsupport at write path in Data Source V2
> -------------------------------------------------------------
>
> Key: SPARK-25700
> URL: https://issues.apache.org/jira/browse/SPARK-25700
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 2.4.0
> Reporter: Hyukjin Kwon
> Priority: Critical
>
> https://github.com/apache/spark/commit/5fef6e3513d6023a837c427d183006d153c7102b introduced append mode support in Datasource V2.
> The problem is, write path ended up
> https://github.com/apache/spark/blob/e06da95cd9423f55cdb154a2778b0bddf7be984c/sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala#L249
> Retrieving the physical schema of the underlying storage is potentially expensive. Actually even worse: it looks odd that write path requires read side's schema.
> This is a regression comparing to Spark 2.3.
--
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