manuzhang commented on code in PR #8392:
URL: https://github.com/apache/iceberg/pull/8392#discussion_r1325472406


##########
spark/v3.1/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestSetCurrentSnapshotProcedure.java:
##########
@@ -219,14 +220,14 @@ public void testInvalidRollbackToSnapshotCases() {
 
     AssertHelpers.assertThrows(
         "Should reject calls without all required args",
-        AnalysisException.class,
-        "Missing required parameters",
+        IllegalArgumentException.class,
+        "Either snapshot_id or ref must be provided, not both",

Review Comment:
   @amogh-jahagirdar, @aokolnychyi please share your thoughts here.



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