linliu-code commented on code in PR #10324:
URL: https://github.com/apache/hudi/pull/10324#discussion_r1427671820
##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/HoodieFileGroupReader.java:
##########
@@ -179,6 +180,9 @@ private Schema generateRequiredSchema() {
for (String field :
recordMerger.getMandatoryFieldsForMerging(hoodieTableConfig)) {
if (requestedSchema.getField(field) == null) {
Option<Schema.Field> foundFieldOpt = findNestedField(dataSchema,
field);
+ if (!foundFieldOpt.isPresent()) {
+ foundFieldOpt = findMetaField(field);
Review Comment:
Do you mean why we fixed it here? Because when I build the test framework,
and some test cases can not pass because of this bug.
--
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]