RussellSpitzer commented on a change in pull request #2438:
URL: https://github.com/apache/iceberg/pull/2438#discussion_r611909314



##########
File path: spark3/src/main/java/org/apache/iceberg/spark/SparkCatalog.java
##########
@@ -199,6 +199,9 @@ public SparkTable alterTable(Identifier ident, 
TableChange... changes) throws No
           setSnapshotId = set;
         } else if ("cherry-pick-snapshot-id".equalsIgnoreCase(set.property())) 
{
           pickSnapshotId = set;
+        } else if ("sort-order".equalsIgnoreCase(set.property())) {
+          throw new UnsupportedOperationException("'sort-order' is a reserved 
table property. Please use the command " +
+                  "'ALTER TABLE ... WRITE ORDERED BY' to specify it.");

Review comment:
       Sorry I didn't note this before, but I think if we improve this message 
we can do the merge today




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

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