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 2022/06/21 11:55:00 UTC

[jira] [Commented] (SPARK-39543) The option of DataFrameWriterV2 should be passed to storage properties if fallback to v1

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

Apache Spark commented on SPARK-39543:
--------------------------------------

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

> The option of DataFrameWriterV2 should be passed to storage properties if fallback to v1
> ----------------------------------------------------------------------------------------
>
>                 Key: SPARK-39543
>                 URL: https://issues.apache.org/jira/browse/SPARK-39543
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: yikf
>            Priority: Minor
>             Fix For: 3.4.0
>
>
> The option of DataFrameWriterV2 should be passed to storage properties if fallback to v1, to support something such as compressed formats, example:
> spark.range(0, 100).writeTo("t1").option("compression", "zstd").using("parquet").create
> *before*
> gen: part-00000-644a65ed-0e7a-43d5-8d30-b610a0fb19dc-c000.snappy.parquet
> *after*
> gen: part-00000-6eb9d1ae-8fdb-4428-aea3-bd6553954cdd-c000.zstd.parquet ...
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org