unical1988 commented on code in PR #728: URL: https://github.com/apache/incubator-xtable/pull/728#discussion_r2338013898
########## xtable-core/src/main/java/org/apache/xtable/hudi/BaseFileUpdatesExtractor.java: ########## @@ -252,7 +252,7 @@ private Map<String, HoodieColumnRangeMetadata<Comparable>> convertColStats( columnStat.getNumValues(), columnStat.getTotalSize(), -1L)) - .collect(Collectors.toMap(HoodieColumnRangeMetadata::getColumnName, Function.identity())); + .collect(Collectors.toMap(HoodieColumnRangeMetadata::getColumnName, metadata -> metadata)); Review Comment: it is required, it is somehow causing this error: ```incubator-xtable/xtable-core/src/main/java/org/apache/xtable/hudi/BaseFileUpdatesExtractor.java:[255,17] incompatible types: cannot infer type-variable(s) T,K,U,T [ERROR] (argument mismatch; java.util.function.Function<org.apache.hudi.common.model.HoodieColumnRangeMetadata,org.apache.hudi.common.model.HoodieColumnRangeMetadata> cannot be converted to java.util.function.Function<? super org.apache.hudi.common.model.HoodieColumnRangeMetadata,? extends org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>>) ``` -- 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...@xtable.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org