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 2017/03/10 19:47:04 UTC

[jira] [Commented] (SPARK-19905) Dataset.inputFiles is broken for Hive SerDe tables

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

Apache Spark commented on SPARK-19905:
--------------------------------------

User 'liancheng' has created a pull request for this issue:
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
>
> 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