Unverified Commit b1833ceb authored by syyangs799's avatar syyangs799 Committed by GitHub

[Improvement][jobplan]修改flinksql执行图返回提示 (#679)

* 修改如果任务没有insert语句,返回提示创建失败

* update note
Co-authored-by: 's avatarsyyang <730122+syyang99@user.noreply.gitee.com>
parent 02b9112a
......@@ -296,7 +296,7 @@ public class Explainer {
}
return executor.getJobPlanInfoFromDataStream(datastreamPlans);
} else {
return new JobPlanInfo("");
throw new RuntimeException("Creating job plan fails because this job doesn't contain an insert statement.");
}
}
......
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