You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by da...@apache.org on 2025/03/26 00:26:53 UTC
(hudi) branch master updated: [HUDI-9220] Cannot find write operation type if run inline log compaction (#13029)
This is an automated email from the ASF dual-hosted git repository.
danny0405 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new fb77b1da411 [HUDI-9220] Cannot find write operation type if run inline log compaction (#13029)
fb77b1da411 is described below
commit fb77b1da41149ca9055ad909e421163efa94b58a
Author: JH <hw...@gmail.com>
AuthorDate: Wed Mar 26 09:26:47 2025 +0900
[HUDI-9220] Cannot find write operation type if run inline log compaction (#13029)
---
.../main/java/org/apache/hudi/common/model/WriteOperationType.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hudi-common/src/main/java/org/apache/hudi/common/model/WriteOperationType.java b/hudi-common/src/main/java/org/apache/hudi/common/model/WriteOperationType.java
index 1036e8fca44..33f785b0a57 100644
--- a/hudi-common/src/main/java/org/apache/hudi/common/model/WriteOperationType.java
+++ b/hudi-common/src/main/java/org/apache/hudi/common/model/WriteOperationType.java
@@ -55,7 +55,7 @@ public enum WriteOperationType {
// alter schema
ALTER_SCHEMA("alter_schema"),
// log compact
- LOG_COMPACT("logcompact"),
+ LOG_COMPACT("log_compact"),
// used for old version
UNKNOWN("unknown");
@@ -100,6 +100,8 @@ public enum WriteOperationType {
return INDEX;
case "alter_schema":
return ALTER_SCHEMA;
+ case "log_compact":
+ return LOG_COMPACT;
case "unknown":
return UNKNOWN;
default: