pratyakshsharma commented on a change in pull request #1154: [HUDI-406] Added
default partition path in TimestampBasedKeyGenerator
URL: https://github.com/apache/incubator-hudi/pull/1154#discussion_r362162038
##########
File path: hudi-spark/src/main/java/org/apache/hudi/DataSourceUtils.java
##########
@@ -64,6 +64,14 @@ public static String
getNullableNestedFieldValAsString(GenericRecord record, Str
}
}
+ public static Object getNullableNestedFieldVal(GenericRecord record, String
fieldName) {
+ try {
+ return getNestedFieldVal(record, fieldName);
Review comment:
@bvaradar Actually I wrote the above function following the way
getNullableNestedFieldValAsString function is written in the same class. Should
I change the usages of that function also by passing a flag like how you are
suggesting? That function is also compute intensive.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services