You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/22 06:36:57 UTC
[jira] [Commented] (SPARK-16126) Better Error Message When using
DataFrameReader without `path`
[ https://issues.apache.org/jira/browse/SPARK-16126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15343798#comment-15343798 ]
Apache Spark commented on SPARK-16126:
--------------------------------------
User 'gatorsmile' has created a pull request for this issue:
https://github.com/apache/spark/pull/13837
> 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
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org