danny0405 commented on code in PR #13485:
URL: https://github.com/apache/hudi/pull/13485#discussion_r2176971220


##########
hudi-common/src/test/java/org/apache/hudi/avro/TestHoodieAvroUtils.java:
##########
@@ -640,6 +643,8 @@ public void testWrapAndUnwrapAvroValues() throws 
IOException {
     BinaryDecoder decoder = DecoderFactory.get().binaryDecoder(data, 0, 
data.length, null);
     GenericRecord deserializedRecord = reader.read(null, decoder);
     Map<String, Object> fieldValueMapping = 
deserializedRecord.getSchema().getFields().stream()
+        // filtering out nested record field
+        .filter(field -> !field.schema().getType().equals(Schema.Type.UNION))

Review Comment:
   why filter out nested?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to