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

Hyukjin Kwon commented on SPARK-28522:
--------------------------------------

Please ask questions to mailing list and research it by yourself before filing 
an issue or comment.

> 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

Reply via email to