spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dongjoon Hyun (Jira)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-32364) `path` argument of DataFrame.load/save should override the existing options
Date Mon, 20 Jul 2020 06:17:00 GMT

     [ 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


Mime
View raw message