[ https://issues.apache.org/jira/browse/SPARK-28522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16895599#comment-16895599 ]
Ayan Mukherjee commented on SPARK-28522: ---------------------------------------- Your point is well understood but I have searched a lot, asked about it in a popular forum, since nothing useful came up, decided to bring it here. > 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 > Priority: Major > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org