Github user tzolov commented on the issue:

    https://github.com/apache/zeppelin/pull/2396
  
    The `JDBC interpreter` uses Connection's auto-commit status to decide 
whether forceful to commit  the connection. As it as pointed above `commit` is 
not supported by many `NoSql` Jdbc implementation. The Apache Calcite's Avatica 
(which Druid uses by the way) is one of them. 
    
    The interpreter doesn't allow setting the desired connection auto-commit 
status. Since the JDBC API provides a standard 
[setAutoCommit(boolean)](https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html#setAutoCommit-boolean-)
 method to alter connections auto-commit status i believe this should be 
exposed as Explicit property. 
    
    Shouldn't the `zeppelin.jdbc.autocommit` be implemented as: 
    ```
    JDBCInterpreter#getConnection(..)
    ....
    connection.setAutoCommit(use zeppelin.jdbc.autocommit value)
    ....
    ```


---

Reply via email to