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/01/03 06:32:46 UTC

[GitHub] [zeppelin] zjffdu commented on a change in pull request #4003: [ZEPPELIN-5174]. NPE in SparkSqlInterpreter

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



##########
File path: spark/interpreter/src/main/java/org/apache/zeppelin/spark/SparkSqlInterpreter.java
##########
@@ -115,14 +115,23 @@ public InterpreterResult internalInterpret(String st, InterpreterContext context
           context.out.flush();
           return new InterpreterResult(Code.ERROR);
         } else {
+          LOGGER.error("Error happens in sql: " + curSql, e);

Review comment:
       The last parameter is Exception, I think we can not use parameterized method here. 




----------------------------------------------------------------
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