spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gengliang Wang (Jira)" <j...@apache.org>
Subject [jira] [Created] (SPARK-30159) Fix the method calls of QueryTest.checkAnswer
Date Fri, 06 Dec 2019 22:25:00 GMT
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message