KiteSoar commented on code in PR #17772:
URL: https://github.com/apache/hudi/pull/17772#discussion_r2660278689
##########
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/client/model/HoodieFlinkRecord.java:
##########
@@ -158,13 +159,13 @@ protected RowData readRecordPayload(Kryo kryo, Input
input) {
}
@Override
- public Object convertColumnValueForLogicalType(Schema fieldSchema,
+ public Object convertColumnValueForLogicalType(HoodieSchema fieldSchema,
Object fieldValue,
boolean
keepConsistentLogicalTimestamp) {
if (fieldValue == null) {
return null;
}
- LogicalType logicalType = fieldSchema.getLogicalType();
+ LogicalType logicalType = fieldSchema.toAvroSchema().getLogicalType();
Review Comment:
done
##########
hudi-hadoop-common/src/test/java/org/apache/hudi/metadata/TestHoodieTableMetadataUtil.java:
##########
@@ -337,7 +335,7 @@ private static void writeParquetFile(String instant,
for (HoodieRecord record : records) {
writer.writeWithMetadata(record.getKey(),
//TODO boundary to revisit in follow up to use HoodieSchema
directly
Review Comment:
done
--
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]