[
https://issues.apache.org/jira/browse/HUDI-4031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HUDI-4031:
---------------------------------
Labels: pull-request-available (was: )
> Avoid clustering update handling when clustering is disabled
> ------------------------------------------------------------
>
> Key: HUDI-4031
> URL: https://issues.apache.org/jira/browse/HUDI-4031
> Project: Apache Hudi
> Issue Type: Task
> Reporter: Sagar Sumit
> Assignee: Sagar Sumit
> Priority: Major
> Labels: pull-request-available
>
> We call distinct().collectAsList() on RDD to determine conflicting filegroups
> while handling updates with clustering. See
> [https://github.com/apache/hudi/blob/6af1ff7a663da57438db8847ca0dfda5a6e381f5/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/client/clustering/update/strategy/BaseSparkUpdateStrategy.java#L50]
>
> While this is needed when clustering is enabled with regular writer, it can
> be avoided when clustering is disabled and there are no pending
> replacecommits.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)