You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/07/20 06:17:00 UTC

[jira] [Updated] (SPARK-32364) `path` argument of DataFrame.load/save should override the existing options

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

Dongjoon Hyun updated SPARK-32364:
----------------------------------
    Description: 
{code}
spark.read
  .option("paTh", "1")
  .option("PATH", "2")
  .option("Path", "3")
  .option("patH", "4")
  .parquet("5")
...
org.apache.spark.sql.AnalysisException:
Path does not exist: file:/.../1;
{code}

{code}
spark.read
  .option("PATH", "2")
  .option("Path", "3")
  .option("patH", "4")
  .parquet("5")
...
org.apache.spark.sql.AnalysisException:
Path does not exist: file:/.../4;
{code}

  was:
{code}
spark.read
  .option("paTh", "1")
  .option("PATH", "2")
  .option("Path", "3")
  .option("patH", "4")
  .parquet("5")
{code}

{code}
org.apache.spark.sql.AnalysisException: Path does not exist: file:/Users/dongjoon/APACHE/spark-release/spark-3.0.0-bin-hadoop3.2/1;
{code}


> `path` argument of DataFrame.load/save should override the existing options
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-32364
>                 URL: https://issues.apache.org/jira/browse/SPARK-32364
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.2, 2.1.3, 2.2.3, 2.3.4, 2.4.6, 3.0.0
>            Reporter: Dongjoon Hyun
>            Priority: Major
>
> {code}
> spark.read
>   .option("paTh", "1")
>   .option("PATH", "2")
>   .option("Path", "3")
>   .option("patH", "4")
>   .parquet("5")
> ...
> org.apache.spark.sql.AnalysisException:
> Path does not exist: file:/.../1;
> {code}
> {code}
> spark.read
>   .option("PATH", "2")
>   .option("Path", "3")
>   .option("patH", "4")
>   .parquet("5")
> ...
> org.apache.spark.sql.AnalysisException:
> Path does not exist: file:/.../4;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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