twalthr commented on a change in pull request #9068: [FLINK-13195] Add create
table support for SqlClient
URL: https://github.com/apache/flink/pull/9068#discussion_r302056031
##########
File path:
flink-table/flink-sql-client/src/main/java/org/apache/flink/table/client/gateway/SessionContext.java
##########
@@ -40,6 +42,8 @@
private final Map<String, ViewEntry> views;
+ private volatile Catalog currentCatalog;
Review comment:
A catalog should not be part of a session context. You need to image the
session context like a JSON map that is serialized between CLI and Executor.
`Context + SQL` could be sent to a stateless server.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services