You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "yihua (via GitHub)" <gi...@apache.org> on 2023/08/01 07:14:48 UTC

[GitHub] [hudi] yihua commented on a diff in pull request #9237: [HUDI-6569] Fix write failure for Avro enum type

yihua commented on code in PR #9237:
URL: https://github.com/apache/hudi/pull/9237#discussion_r1280200668


##########
hudi-common/src/main/java/org/apache/hudi/avro/HoodieAvroUtils.java:
##########
@@ -917,6 +917,7 @@ private static Object rewritePrimaryType(Object oldValue, Schema oldSchema, Sche
         case DOUBLE:
         case BYTES:
         case STRING:
+        case ENUM:

Review Comment:
   Makes sense.  Moved to the caller `rewriteRecordWithNewSchemaInternal()`.



-- 
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