hackergin commented on code in PR #25988: URL: https://github.com/apache/flink/pull/25988#discussion_r1919506003
########## flink-table/flink-sql-gateway/src/main/java/org/apache/flink/table/gateway/service/operation/OperationExecutor.java: ########## @@ -416,6 +416,14 @@ public TableEnvironmentInternal getTableEnvironment( sessionContext.getSessionState().functionCatalog.copy(resourceManager)); } + public <ClusterID> Optional<String> getSessionClusterId() { Review Comment: If it is session mode, the user may not configure the clusterId correctly. Here, it may return null. However, we should check the clusterId before submitting the job to ensure that the clusterId is not empty. -- 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. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org