YannByron commented on a change in pull request #4752:
URL: https://github.com/apache/hudi/pull/4752#discussion_r807984316



##########
File path: hudi-common/src/main/java/org/apache/hudi/avro/HoodieAvroUtils.java
##########
@@ -461,7 +463,7 @@ public static Object getNestedFieldVal(GenericRecord 
record, String fieldName, b
       // rather than return null like the previous version if if record 
doesn't contain this key.
       // So when returnNullIfNotFound is true, catch this exception.
       if (!returnNullIfNotFound) {
-        throw e;
+        LOG.warn("Failed to get nested field Value ", e);

Review comment:
       why change this?




-- 
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-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to