You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (Jira)" <ji...@apache.org> on 2020/04/23 12:44:00 UTC

[jira] [Commented] (FLINK-17349) Reduce runtime of LocalExecutorITCase

    [ https://issues.apache.org/jira/browse/FLINK-17349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17090581#comment-17090581 ] 

Aljoscha Krettek commented on FLINK-17349:
------------------------------------------

See also my earlier comment on FLINK-17338: https://issues.apache.org/jira/browse/FLINK-17338?focusedCommentId=17090557&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17090557

> Reduce runtime of LocalExecutorITCase
> -------------------------------------
>
>                 Key: FLINK-17349
>                 URL: https://issues.apache.org/jira/browse/FLINK-17349
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Client, Table SQL / Legacy Planner, Table SQL / Planner, Table SQL / Runtime
>            Reporter: Aljoscha Krettek
>            Priority: Critical
>
> Running the while ITCase takes ~3 minutes on my machine, which is not acceptable for developer productivity and is also quite the burden on our CI systems and PR iteration time.
> The issue is mostly that this does many costly operations, such as compiling SQL queries. Some tests are inefficient in that they do a lot more repetitions or test things that are not needed here. Also {{LocalExecutor}} itself is a bit wasteful because every time a session property is changed, when opening a session, and for other things we trigger reloading/re-parsing the environment, which means all the defined catalogs, sources/sinks, and views.



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