aokolnychyi commented on a change in pull request #3529: URL: https://github.com/apache/iceberg/pull/3529#discussion_r749676935
########## File path: spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/SparkDistributionAndOrderingUtil.java ########## @@ -71,7 +72,8 @@ public static Distribution buildRequiredDistribution(Table table, DistributionMo } public static SortOrder[] convert(org.apache.iceberg.SortOrder sortOrder) { - List<OrderField> converted = SortOrderVisitor.visit(sortOrder, new SortOrderToSpark()); + Map<Integer, String> quotedNameById = SparkSchemaUtil.indexQuotedNameById(sortOrder.schema()); Review comment: I'll still probably address it in a follow-up PR just to be safe. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org