spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yin Huai (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-14997) Files in subdirectories are incorrectly considered in sqlContext.read.json()
Date Fri, 06 May 2016 22:05:12 GMT

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

Yin Huai resolved SPARK-14997.
------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 12856
[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
>             Fix For: 2.0.0
>
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message