You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "nsivabalan (via GitHub)" <gi...@apache.org> on 2026/06/25 03:15:59 UTC

Re: [I] insert overwrite table will delete entire data [hudi]

nsivabalan commented on issue #15878:
URL: https://github.com/apache/hudi/issues/15878#issuecomment-4795496195

   This was fixed in 0.14.0 by [HUDI-6466](https://issues.apache.org/jira/browse/HUDI-6466) / PR #9113 (commit d67455a4a713). The fix introduced `hoodie.datasource.overwrite.mode` (STATIC/DYNAMIC) and also respects Spark's `spark.sql.sources.partitionOverwriteMode`, aligning Hudi's `INSERT OVERWRITE` semantics with Spark/Iceberg/Delta. In DYNAMIC mode, only the partitions present in the source data are overwritten — the rest of the table is preserved. The deducing logic lives in `ProvidesHoodieConfig.deduceOverwriteConfig` and is present on master. Closing — please reopen with a repro on a 0.14.0+ release if you still see the entire table being cleared with dynamic partition mode.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org