[
https://issues.apache.org/jira/browse/SPARK-53054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Dillitz updated SPARK-53054:
-----------------------------------
Description:
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}}
was:
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}}
> 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.5.6, 4.0.0
> Reporter: Robert Dillitz
> Priority: Major
> Labels: connect
> 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]