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

Vinaykumar Bhat commented on HUDI-7504:
---------------------------------------

Support for these configs (as part of DataSourceOptions) in spark was added 
only in 3.4.0. Will hold on to the PR for now.

> Replace expensive file existance check (in object store) with spark options
> ---------------------------------------------------------------------------
>
>                 Key: HUDI-7504
>                 URL: https://issues.apache.org/jira/browse/HUDI-7504
>             Project: Apache Hudi
>          Issue Type: Improvement
>            Reporter: Vinaykumar Bhat
>            Assignee: Vinaykumar Bhat
>            Priority: Major
>              Labels: pull-request-available
>
> The incremental loading from S3 and GCS performs a existence check for an 
> object. This is expensive. This happens 
> [here|[http://example.com|https://github.com/apache/hudi/blob/130498708bb1cd5da1d0e725971b3d721eeef231/hudi-utilities/src/main/java/org/apache/hudi/utilities/sources/helpers/CloudObjectsSelectorCommon.java#L161]]
>  
> This can be replaced with spark provided options:
> spark.sql.files.ignoreMissingFiles
> spark.sql.files.ignoreCorruptFiles
>  
> Ref for these options: 
> [https://spark.apache.org/docs/latest/sql-data-sources-generic-options.html#ignore-missing-files]
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to