[ 
https://issues.apache.org/jira/browse/SPARK-14997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15267891#comment-15267891
 ] 

Apache Spark commented on SPARK-14997:
--------------------------------------

User 'tdas' has created a pull request for this issue:
https://github.com/apache/spark/pull/12856

> Files in subdirectories are incorrectly considered in sqlContext.read.json()
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-14997
>                 URL: https://issues.apache.org/jira/browse/SPARK-14997
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Tathagata Das
>            Priority: Critical
>              Labels: regresion
>
> Lets says there are json files in the following directories structure
> xyz/file0.json
> xyz/subdir1/file1.json
> xyz/subdir2/file2.json
> xyz/subdir1/subsubdir1/file3.json
> sqlContext.read.json("xyz") should read only file0.json according to behavior 
> in Spark 1.6.1. However in current master, all the 4 files are read. 



--
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