srowen commented on a change in pull request #26788:
[WIP][SPARK-30159][SQL][TESTS] Fix the method calls of `QueryTest.checkAnswer`
URL: https://github.com/apache/spark/pull/26788#discussion_r355230442
##########
File path:
sql/core/src/test/java/test/org/apache/spark/sql/JavaSaveLoadSuite.java
##########
@@ -43,7 +43,7 @@
Dataset<Row> df;
private static void checkAnswer(Dataset<Row> actual, List<Row> expected) {
- String errorMessage = QueryTest$.MODULE$.checkAnswer(actual, expected);
+ String errorMessage =
QueryTest$.MODULE$.getErrorMessageInCheckAnswer(actual, expected);
if (errorMessage != null) {
Review comment:
I think it's OK; it will generate a relevant failure exception and message.
I'd prefer it for simplicity.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]