cuspymd commented on a change in pull request #4143: URL: https://github.com/apache/zeppelin/pull/4143#discussion_r656743061
########## File path: jdbc/src/main/java/org/apache/zeppelin/jdbc/JDBCInterpreter.java ########## @@ -727,12 +727,14 @@ private InterpreterResult executeSql(String dbPrefix, String sql, try { List<String> sqlArray = sqlSplitter.splitSql(sql); for (String sqlToExecute : sqlArray) { - LOGGER.info("Execute sql: " + sqlToExecute); - if (sqlToExecute.trim().toLowerCase().startsWith("set ")) { + if (sqlToExecute.trim().toLowerCase().startsWith("set ") || + sqlToExecute.trim().toLowerCase().startsWith("list ") || + sqlToExecute.trim().toLowerCase().startsWith("add ")) { Review comment: As [a Hive Manual](https://cwiki.apache.org/confluence/display/hive/languagemanual+cli), It seems be a commend of the interpreter shell mode. There is other command like `DELETE` also. -- 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: us...@infra.apache.org