You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/07/30 08:37:04 UTC

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

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

Reynold Xin resolved SPARK-8005.
--------------------------------
       Resolution: Fixed
         Assignee: Joseph Batchik
    Fix Version/s: 1.5.0

> 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
>            Assignee: Joseph Batchik
>             Fix For: 1.5.0
>
>
> 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