spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wenchen Fan (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-19905) Dataset.inputFiles is broken for Hive SerDe tables
Date Fri, 10 Mar 2017 23:20:04 GMT

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

Wenchen Fan resolved SPARK-19905.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0

Issue resolved by pull request 17247
[https://github.com/apache/spark/pull/17247]

> Dataset.inputFiles is broken for Hive SerDe tables
> --------------------------------------------------
>
>                 Key: SPARK-19905
>                 URL: https://issues.apache.org/jira/browse/SPARK-19905
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Cheng Lian
>            Assignee: Cheng Lian
>             Fix For: 2.2.0
>
>
> The following snippet reproduces this issue:
> {code}
> spark.range(10).createOrReplaceTempView("t")
> spark.sql("CREATE TABLE u STORED AS RCFILE AS SELECT * FROM t")
> spark.table("u").inputFiles.foreach(println)
> {code}
> In Spark 2.2, it prints nothing, while in Spark 2.1, it prints something like
> {noformat}
> file:/Users/lian/local/var/lib/hive/warehouse_1.2.1/u
> {noformat}
> on my laptop.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message