Skip to content

Commit

Permalink
[Bug]fix flink cdc task lost sql in app mode (DataLinkDC#3439)
Browse files Browse the repository at this point in the history
Co-authored-by: gaoyan1998 <[email protected]>
  • Loading branch information
gaoyan1998 and gaoyan1998 authored Apr 29, 2024
1 parent cbce5fd commit 280ef09
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ public void run() throws Exception {
}
GatewayResult gatewayResult = null;
config.addGatewayConfig(executor.getSetConfig());
config.getGatewayConfig().setSql(jobParam.getParsedSql());

if (runMode.isApplicationMode()) {
gatewayResult = Gateway.build(config.getGatewayConfig())
.submitJar(executor.getDinkyClassLoader().getUdfPathContextHolder());
Expand Down

0 comments on commit 280ef09

Please sign in to comment.