Gengliang Wang created SPARK-30159: -------------------------------------- Summary: Fix the method calls of QueryTest.checkAnswer Key: SPARK-30159 URL: https://issues.apache.org/jira/browse/SPARK-30159 Project: Spark Issue Type: Task Components: SQL, Tests Affects Versions: 3.0.0 Reporter: Gengliang Wang Assignee: Gengliang Wang
Currently, the method `checkAnswer` in Object `QueryTest` returns an optional string. It doesn't throw exceptions when errors happen. The actual exceptions are thrown in the trait `QueryTest`. However, there are some test suites that use the no-op method `QueryTest.checkAnswer` and expect it to fail test cases when the input Dataframe doesn't match the expected answer. E.g. StreamSuite, SessionStateSuite, BinaryFileFormatSuite, etc. We should fix this. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org