zhangbutao commented on code in PR #5282: URL: https://github.com/apache/hive/pull/5282#discussion_r1628711004
########## iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/mapreduce/IcebergInternalRecordWrapper.java: ########## @@ -57,7 +57,7 @@ public IcebergInternalRecordWrapper(StructType tableSchema, StructType readSchem public IcebergInternalRecordWrapper wrap(StructLike record) { int idx = 0; for (Types.NestedField field : readSchema.fields()) { - int position = fieldToPositionInTableSchema.get(field.name()); + int position = fieldToPositionInReadSchema.get(field.name()); Review Comment: Fixed the failed metadata qtest: http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-5282/1/tests/ -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org