voonhous commented on code in PR #14311:
URL: https://github.com/apache/hudi/pull/14311#discussion_r2565546459


##########
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java:
##########
@@ -287,7 +288,8 @@ public static Map<String, 
HoodieColumnRangeMetadata<Comparable>> collectColumnRa
       targetFields.forEach(fieldNameFieldPair -> {
         String fieldName = fieldNameFieldPair.getKey();
         Schema fieldSchema = 
getNonNullTypeFromUnion(fieldNameFieldPair.getValue().schema());
-        ColumnStats colStats = allColumnStats.computeIfAbsent(fieldName, 
ignored -> new ColumnStats(getValueMetadata(fieldSchema, indexVersion)));
+        HoodieSchema hoodieFieldSchema = 
HoodieSchema.fromAvroSchema(fieldSchema);

Review Comment:
   This may take awhile, there's ~3k LoC, it touches quite abit of tests too, 
will do it slowly.



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