jonvex commented on code in PR #11154:
URL: https://github.com/apache/hudi/pull/11154#discussion_r1612070797
##########
hudi-common/src/main/java/org/apache/hudi/internal/schema/InternalSchemaBuilder.java:
##########
@@ -67,6 +68,10 @@ public Map<String, Integer> buildNameToId(Type type) {
return visit(type, new NameToIDVisitor());
}
+ Map<String, Integer> buildNameToPosition(Type type) {
Review Comment:
We use internal schema even when schema on read is disabled. We use it to
add null for missing columns, promote incoming batch if it can be promoted to
the table schema, and also to fix the ordering of unions
--
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]