nk1506 commented on code in PR #10088:
URL: https://github.com/apache/iceberg/pull/10088#discussion_r1553073692
##########
spark/v3.5/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestViews.java:
##########
@@ -1341,10 +1355,17 @@ public void
createViewWithSubqueryExpressionInQueryThatIsRewritten() throws NoSu
.containsExactly(row(3), row(3), row(3));
sql("USE spark_catalog");
-
assertThatThrownBy(() -> sql(sql))
- .isInstanceOf(AnalysisException.class)
- .hasMessageContaining(String.format("The table or view `%s` cannot be
found", tableName));
+ .satisfiesAnyOf(
+ throwable ->
+ assertThat(throwable)
+ .isInstanceOfAny(AnalysisException.class)
+ .hasMessageContaining(
+ String.format("The table or view `%s` cannot be
found", tableName)),
+ throwable ->
Review Comment:
same
--
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]