[jira] [Created] (FLINK-21615) Introduce a new integration test framework for SQL Client

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

[jira] [Created] (FLINK-21615) Introduce a new integration test framework for SQL Client

Shang Yuanchun (Jira)
Jark Wu created FLINK-21615:
-------------------------------

             Summary: Introduce a new integration test framework for SQL Client
                 Key: FLINK-21615
                 URL: https://issues.apache.org/jira/browse/FLINK-21615
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / Client
            Reporter: Jark Wu
            Assignee: Jark Wu
             Fix For: 1.13.0


Currently, adding test for a new feature in SQL Client is difficult. There is no clear clue where to add tests. Besides, all the tests in SQL Client module is somewhat unit test, there is no integration tests. That's why we can see many little bugs in this module.

An end-to-end component path of SQL Client is:
SqlClient => CliClient => parse sql => invoke

For example, {{CliClientTest}} only tests Sql Parser in CliClient, and {{LocalExecutorITCase}} only tests {{LocalExecutor}}. Therefore, this issue aims to resolve this problem, introduce a new integration framework to test end-to-end of SQL Client.






--
This message was sent by Atlassian Jira
(v8.3.4#803005)