aokolnychyi commented on a change in pull request #3400:
URL: https://github.com/apache/iceberg/pull/3400#discussion_r739436499



##########
File path: api/src/main/java/org/apache/iceberg/types/IndexByName.java
##########
@@ -177,10 +189,15 @@ private void addField(String name, int fieldId) {
 
     // also track the short name, if this is a nested field
     if (!shortFieldNames.isEmpty()) {
-      String shortName = 
DOT.join(DOT.join(shortFieldNames.descendingIterator()), name);
+      Iterator<String> quotedShortFieldNames = 
Iterators.transform(shortFieldNames.descendingIterator(), this::quote);
+      String shortName = DOT.join(DOT.join(quotedShortFieldNames), 
quote(name));

Review comment:
       Fixed.




-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to