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

Apache Spark reassigned SPARK-16126:
------------------------------------

    Assignee: Apache Spark

> Better Error Message When using DataFrameReader without `path`
> --------------------------------------------------------------
>
>                 Key: SPARK-16126
>                 URL: https://issues.apache.org/jira/browse/SPARK-16126
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>            Assignee: Apache Spark
>
> When users do not specify the path in `DataFrameReader` APIs, it can get a 
> confusing error message. For example, 
> {noformat}
> spark.read.json()
> {noformat}
> Error message:
> {noformat}
> Unable to infer schema for JSON at . It must be specified manually;
> {noformat}
> After the fix, the error message will be like: 
> {noformat}
> 'path' is not specified
> {noformat}
> Another major goal of this PR is to add test cases for the latest changes in 
> https://github.com/apache/spark/pull/13727. 
> - orc read APIs
> - illegal format name
> - save API - empty path or illegal path
> - load API - empty path
> - illegal compression
> - fixed a test case in the existing test case `prevent all column 
> partitioning`



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to