[jira] [Created] (FLINK-14668) LocalExecutor#getOrCreateExecutionContext not working as expected

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-14668) LocalExecutor#getOrCreateExecutionContext not working as expected

Shang Yuanchun (Jira)
zhangwei created FLINK-14668:
--------------------------------

             Summary: LocalExecutor#getOrCreateExecutionContext not working as expected
                 Key: FLINK-14668
                 URL: https://issues.apache.org/jira/browse/FLINK-14668
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Client
    Affects Versions: 1.9.1, 1.9.0
            Reporter: zhangwei
             Fix For: 1.11.0


```ExecutionContext``` [copy](https://github.com/apache/flink/blob/b0a9afdd24fb70131b1e80d46d0ca101235a4a36/flink-table/flink-sql-client/src/main/java/org/apache/flink/table/client/gateway/local/ExecutionContext.java#L134) a new ```SessionContext``` in the constructor,  but ```SessionContext``` members do not always redo ```equals```,so ```executionContext.getSessionContext().equals(session)``` is always false.



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