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

Dongjoon Hyun closed SPARK-53054.
---------------------------------

> 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
>            Assignee: Robert Dillitz
>            Priority: Major
>              Labels: connect, pull-request-available
>             Fix For: 4.1.0, 4.0.1, 3.5.7
>
>   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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to