You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2022/08/12 13:09:11 UTC
[flink] branch master updated: [FLINK-28932][Table/SQL] Remove use of deprecated method
This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new ea3b44183a8 [FLINK-28932][Table/SQL] Remove use of deprecated method
ea3b44183a8 is described below
commit ea3b44183a876e2154f9a3a1423dee688ba4eb0e
Author: Sergey Nuyanzin <sn...@gmail.com>
AuthorDate: Fri Aug 12 15:09:02 2022 +0200
[FLINK-28932][Table/SQL] Remove use of deprecated method
---
.../org/apache/flink/table/gateway/service/context/SessionContext.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/flink-table/flink-sql-gateway/src/main/java/org/apache/flink/table/gateway/service/context/SessionContext.java b/flink-table/flink-sql-gateway/src/main/java/org/apache/flink/table/gateway/service/context/SessionContext.java
index b949d299d22..37fd74809d9 100644
--- a/flink-table/flink-sql-gateway/src/main/java/org/apache/flink/table/gateway/service/context/SessionContext.java
+++ b/flink-table/flink-sql-gateway/src/main/java/org/apache/flink/table/gateway/service/context/SessionContext.java
@@ -235,7 +235,8 @@ public class SessionContext {
final ModuleManager moduleManager = new ModuleManager();
- final EnvironmentSettings settings = EnvironmentSettings.fromConfiguration(configuration);
+ final EnvironmentSettings settings =
+ EnvironmentSettings.newInstance().withConfiguration(configuration).build();
CatalogManager catalogManager =
CatalogManager.newBuilder()