Aljoscha Krettek created FLINK-17349:
----------------------------------------

             Summary: 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


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)

Reply via email to