Robert Dillitz created SPARK-53054:
--------------------------------------

             Summary: 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: 4.0.0, 3.5.6
            Reporter: Robert Dillitz


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