nk1506 commented on code in PR #10088:
URL: https://github.com/apache/iceberg/pull/10088#discussion_r1553073213
##########
spark/v3.5/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestViews.java:
##########
@@ -1318,8 +1324,16 @@ public void
createViewWithSubqueryExpressionInFilterThatIsRewritten()
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)
Review Comment:
Hive throws Exception of type `SparkException` with error message as
`Exception thrown in awaitResult`.
Should we override these tests?
--
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]