voonhous commented on code in PR #14311:
URL: https://github.com/apache/hudi/pull/14311#discussion_r2579703092
##########
hudi-hadoop-common/src/test/java/org/apache/hudi/metadata/TestHoodieTableMetadataUtil.java:
##########
@@ -596,16 +598,16 @@ private void addNColumns(List<String> list, int n) {
}
}
- private Schema getTableSchema(List<String> fieldNames) {
+ private HoodieSchema getTableSchema(List<String> fieldNames) {
List<Schema.Field> fields = fieldNames.stream()
.map(fieldName -> new Schema.Field(fieldName,
createNullableSchema(Schema.Type.STRING), "",
JsonProperties.NULL_VALUE)).collect(Collectors.toList());
- return Schema.createRecord("Test_Hoodie_Record", "", "", false, fields);
+ return
HoodieSchema.fromAvroSchema(Schema.createRecord("Test_Hoodie_Record", "", "",
false, fields));
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]