Details
Description
In apache jmeter ,the autocommit property is required.
but in the hive jdbc the auto commit is unsupported method.
in
/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveConnection.java
public void setAutoCommit(boolean autoCommit) throws SQLException {
// TODO Auto-generated method stubthrow new SQLException("Method not supported");
}
so ,should we make a mock to support the auto commit property == false ?
public void setAutoCommit(boolean autoCommit) throws SQLException {
// TODO Auto-generated method stub
if(autoCommit)
throw new SQLException("Method not supported");
else
return;
}
Attachments
Attachments
Issue Links
- is duplicated by
-
HIVE-6712 HS2 JDBC driver is inconsistent w.r.t. auto commit
- Resolved
- links to