Unverified Commit 280ef090 authored by gaoyan's avatar gaoyan Committed by GitHub

[Bug]fix flink cdc task lost sql in app mode (#3439)

parent cbce5fd7
...@@ -65,6 +65,8 @@ public class JobExecuteBuilder extends JobBuilder { ...@@ -65,6 +65,8 @@ public class JobExecuteBuilder extends JobBuilder {
} }
GatewayResult gatewayResult = null; GatewayResult gatewayResult = null;
config.addGatewayConfig(executor.getSetConfig()); config.addGatewayConfig(executor.getSetConfig());
config.getGatewayConfig().setSql(jobParam.getParsedSql());
if (runMode.isApplicationMode()) { if (runMode.isApplicationMode()) {
gatewayResult = Gateway.build(config.getGatewayConfig()) gatewayResult = Gateway.build(config.getGatewayConfig())
.submitJar(executor.getDinkyClassLoader().getUdfPathContextHolder()); .submitJar(executor.getDinkyClassLoader().getUdfPathContextHolder());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment