You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by si...@apache.org on 2021/08/19 11:04:09 UTC

[hudi] branch master updated: [HUDI-1363] Include _hoodie_operation meta column in removeMetadataFields (#3501)

This is an automated email from the ASF dual-hosted git repository.

sivabalan 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 b15c3cf  [HUDI-1363] Include _hoodie_operation meta column in removeMetadataFields (#3501)
b15c3cf is described below

commit b15c3cf9a9772843e853ae502887b2a05bc14208
Author: Sagar Sumit <sa...@gmail.com>
AuthorDate: Thu Aug 19 16:33:54 2021 +0530

    [HUDI-1363] Include _hoodie_operation meta column in removeMetadataFields (#3501)
---
 hudi-common/src/main/java/org/apache/hudi/avro/HoodieAvroUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hudi-common/src/main/java/org/apache/hudi/avro/HoodieAvroUtils.java b/hudi-common/src/main/java/org/apache/hudi/avro/HoodieAvroUtils.java
index ef6ce13..96b1a1e 100644
--- a/hudi-common/src/main/java/org/apache/hudi/avro/HoodieAvroUtils.java
+++ b/hudi-common/src/main/java/org/apache/hudi/avro/HoodieAvroUtils.java
@@ -223,7 +223,7 @@ public class HoodieAvroUtils {
   }
 
   public static Schema removeMetadataFields(Schema schema) {
-    return removeFields(schema, HoodieRecord.HOODIE_META_COLUMNS);
+    return removeFields(schema, HoodieRecord.HOODIE_META_COLUMNS_WITH_OPERATION);
   }
 
   public static Schema removeFields(Schema schema, List<String> fieldsToRemove) {