You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2021/06/18 20:53:49 UTC

[GitHub] [zeppelin] zjffdu commented on a change in pull request #4140: [ZEPPELIN-5413] Throw proper error message when user set execution.runtime-mode in flink sql

zjffdu commented on a change in pull request #4140:
URL: https://github.com/apache/zeppelin/pull/4140#discussion_r654116082



##########
File path: flink/flink-scala-parent/src/main/java/org/apache/zeppelin/flink/FlinkSqlInterrpeter.java
##########
@@ -502,11 +502,17 @@ public void callSelect(String sql, InterpreterContext context) throws IOExceptio
 
   public abstract void callInnerSelect(String sql, InterpreterContext context) throws IOException;
 
-  public void callSet(String key, String value, InterpreterContext context) throws IOException {
+  public void callSet(String key, String value, InterpreterContext context) throws Exception {
+    if (key.equals("execution.runtime-mode")) {

Review comment:
       Fixed




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org