Skip to content

Commit

Permalink
[FLINK-37138][sql-gateway] Don't load the conf from FLINK_CONF_DIR in…
Browse files Browse the repository at this point in the history
… application mode
  • Loading branch information
fsk119 committed Jan 22, 2025
1 parent 53e433d commit c64f52c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,12 @@ public static void run(String script) throws Exception {
@VisibleForTesting
public static void run(String script, OutputStream outputStream) throws Exception {
DefaultContext defaultContext =
DefaultContext.load(
new DefaultContext(
(Configuration)
StreamExecutionEnvironment.getExecutionEnvironment(
new Configuration())
.getConfiguration(),
Collections.emptyList(),
false);
Collections.emptyList());
SessionContext sessionContext =
SessionContext.create(
defaultContext,
Expand Down

0 comments on commit c64f52c

Please sign in to comment.