spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gengliang Wang (Jira)" <>
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
             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message