spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-14997) Files in subdirectories are incorrectly considered in sqlContext.read.json()
Date Tue, 03 May 2016 01:36:12 GMT

    [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message