You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Sagar Sumit (Jira)" <ji...@apache.org> on 2022/05/03 09:07:00 UTC

[jira] [Created] (HUDI-4031) Avoid clustering update handling when clustering is disabled

Sagar Sumit created HUDI-4031:
---------------------------------

             Summary: 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


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)