You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Raymond Xu (Jira)" <ji...@apache.org> on 2022/04/14 17:01:00 UTC
[jira] [Updated] (HUDI-3826) Make truncate partition use delete_partition operation
[ https://issues.apache.org/jira/browse/HUDI-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raymond Xu updated HUDI-3826:
-----------------------------
Summary: Make truncate partition use delete_partition operation (was: Commands deleting partitions do so incorrectly)
> Make truncate partition use delete_partition operation
> ------------------------------------------------------
>
> Key: HUDI-3826
> URL: https://issues.apache.org/jira/browse/HUDI-3826
> Project: Apache Hudi
> Issue Type: Bug
> Reporter: Alexey Kudinkin
> Assignee: Forward Xu
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 0.11.0
>
>
> Currently, `TruncateHoodieTableCommand` as well as `AlterHoodieTableDropPartitionCommand` deletes partitions from Hudi table by simply removing corresponding partition folders w/o committing any changes (and correspondingly updating the MT for ex)
> Instead it should go t/h WriteClient's `deletePartitions` API, similar to Spark DS does when gets Hudi's DELETE command
> You can see that when enable Column Stats Index by default and running our CI (Setting "hoodie.metadata.index.column.stats.enable"
> and "hoodie.metadata.enable" to true)
> https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=7926&view=logs&j=dcedfe73-9485-5cc5-817a-73b61fc5dcb0&t=746585d8-b50a-55c3-26c5-517d93af9934
--
This message was sent by Atlassian Jira
(v8.20.1#820001)