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

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

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

uditme pushed a commit to branch release-0.9.0
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/release-0.9.0 by this push:
     new a2fc880  [HUDI-1363] Include _hoodie_operation meta column in removeMetadataFields (#3501)
a2fc880 is described below

commit a2fc88033ec98e8fb75b97675cd5ec73b9ce3eba
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) {