[
https://issues.apache.org/jira/browse/FLINK-21614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jark Wu updated FLINK-21614:
----------------------------
Description:
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.
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.
was:
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.
> Introduce a new integration test framework for SQL Client
> ---------------------------------------------------------
>
> Key: FLINK-21614
> URL: https://issues.apache.org/jira/browse/FLINK-21614
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Client
> Reporter: Jark Wu
> Assignee: Jark Wu
> Priority: Major
> 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.
> 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)