You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Robert Dillitz (Jira)" <ji...@apache.org> on 2025/08/01 00:16:00 UTC

[jira] [Updated] (SPARK-53054) The Scala Spark Connect DataFrameReader does not use the correct default format

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

Robert Dillitz updated SPARK-53054:
-----------------------------------
    Affects Version/s: 3.4.4

> The Scala Spark Connect DataFrameReader does not use the correct default format
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-53054
>                 URL: https://issues.apache.org/jira/browse/SPARK-53054
>             Project: Spark
>          Issue Type: Bug
>          Components: Connect
>    Affects Versions: 3.4.4, 3.5.6, 4.0.0
>            Reporter: Robert Dillitz
>            Priority: Major
>              Labels: connect, pull-request-available
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> As documented in [Generic Load/Save Functions - Spark 3.5.6 Documentation|https://spark.apache.org/docs/3.5.6/sql-data-sources-load-save-functions.html], and similar to Spark Classic and the Python Spark Connect, Scala Spark Connect's {{DataFrameReader}} should default to the format set via the {{spark.sql.sources.default}} config.
> {*}Currently{*}: {{spark.read.load("...")}} throws
> {code:java}
> java.lang.IllegalArgumentException: The source format must be specified.{code}
> {*}Expected{*}: {{spark.read.load("...")}} uses the format specified via {{spark.sql.sources.default}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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