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

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

     [ https://issues.apache.org/jira/browse/HUDI-4031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sivabalan narayanan resolved HUDI-4031.
---------------------------------------

> 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
>             Fix For: 0.12.0
>
>
> 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)