You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2021/03/05 03:59:00 UTC

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

Jark Wu created FLINK-21616:
-------------------------------

             Summary: Introduce a new integration test framework for SQL Client
                 Key: FLINK-21616
                 URL: https://issues.apache.org/jira/browse/FLINK-21616
             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)