spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayan Mukherjee (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-28522) Pass dynamic parameters to custom file input format
Date Fri, 26 Jul 2019 09:16:00 GMT
Ayan Mukherjee created SPARK-28522:
--------------------------------------

             Summary: Pass dynamic parameters to custom file input format
                 Key: SPARK-28522
                 URL: https://issues.apache.org/jira/browse/SPARK-28522
             Project: Spark
          Issue Type: Bug
          Components: Java API
    Affects Versions: 2.3.0
            Reporter: Ayan Mukherjee


We have  developed a custom file input format and calling it in pyspark using newAPIHadoopFile
option. It appears there is no option to pass parameters dynamically to the custom format.

 

rdd2 = sc.newAPIHadoopFile("/abcd/efgh/i1.txt", "com.test1.TEST2.TESTInputFormat", "org.apache.hadoop.io.Text",
"org.apache.hadoop.io.NullWritable")



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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


Mime
View raw message