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 2023/06/27 06:32:00 UTC

[jira] [Created] (FLINK-32444) Enable object reuse for Flink SQL jobs by default

Jark Wu created FLINK-32444:
-------------------------------

             Summary: Enable object reuse for Flink SQL jobs by default
                 Key: FLINK-32444
                 URL: https://issues.apache.org/jira/browse/FLINK-32444
             Project: Flink
          Issue Type: New Feature
          Components: Table SQL / API
            Reporter: Jark Wu
             Fix For: 1.18.0


Currently, object reuse is not enabled by default for Flink Streaming Jobs, but is enabled by default for Flink Batch jobs. That is not consistent for stream-batch unification. Besides, SQL operators are safe to enable object reuse and this is a great performance improvement for SQL jobs. 

We should also be careful with the Table-DataStream conversion case (StreamTableEnvironment) which is not safe to enable object reuse by default. Maybe we can just enable it for SQL Client/Gateway and TableEnvironment. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)