Description
I see an inconsistency in HS2 JDBC driver code:
@Override public void setAutoCommit(boolean autoCommit) throws SQLException { if (autoCommit) { throw new SQLException("enabling autocommit is not supported"); } }
From above, it seems that auto commit is not supported. However,
@Override public boolean getAutoCommit() throws SQLException { return true; }
Attachments
Attachments
Issue Links
- duplicates
-
HIVE-6705 hive jdbc can not used by jmeter, because of unsupported auto commit feature
- Closed
-
HIVE-11293 HiveConnection.setAutoCommit(true) throws exception
- Closed