[jira] [Created] (FLINK-5271) Refactor the batch SQL tests

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-5271) Refactor the batch SQL tests

Shang Yuanchun (Jira)
Fabian Hueske created FLINK-5271:
------------------------------------

             Summary: Refactor the batch SQL tests
                 Key: FLINK-5271
                 URL: https://issues.apache.org/jira/browse/FLINK-5271
             Project: Flink
          Issue Type: Sub-task
          Components: Table API & SQL
    Affects Versions: 1.2.0
            Reporter: Fabian Hueske


Most tests of the batch SQL tests are full-blown integration tests which are rather expensive to execute.

All tests should be converted into unit tests that validate the resulting execution plan (consisting of {{DataSetRel}} nodes) based on the {{TableTestBase}} class.

Since the translation from {{DataSetRel}} nodes to the DataSet programs is covered by the batch Table API SQL tests (see FLINK-5270), we do not need additional integration tests that validate the result of an execution (except for the case where a certain DataSetRel node cannot be constructed via the Table API.).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)