sfc-gh-rspitzer commented on code in PR #15150:
URL: https://github.com/apache/iceberg/pull/15150#discussion_r2957349013
##########
core/src/main/java/org/apache/iceberg/SerializableTable.java:
##########
@@ -240,7 +245,21 @@ public SortOrder sortOrder() {
@Override
public Map<Integer, SortOrder> sortOrders() {
- return lazyTable().sortOrders();
+ if (lazySortOrders == null) {
Review Comment:
This makes sense to me as a good fix for now. We already do this for a bunch
of other things like (specs) and it should be relatively lightweight.
I'd ideally also still like to just get the ability to pass the ID directly
into the factory but that could be a follow up issue someone can work on.
--
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]