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
|