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 2015/07/29 06:04:04 UTC

[jira] [Commented] (SPARK-8005) Support INPUT__FILE__NAME virtual column

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

Apache Spark commented on SPARK-8005:
-------------------------------------

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

> Support INPUT__FILE__NAME virtual column
> ----------------------------------------
>
>                 Key: SPARK-8005
>                 URL: https://issues.apache.org/jira/browse/SPARK-8005
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Reynold Xin
>
> INPUT__FILE__NAME: input file name.
> One way to do this is to do it through a thread local variable in the SqlNewHadoopRDD.scala, and read that thread local variable in an expression. (similar to SparkPartitionID expression)



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