[ https://issues.apache.org/jira/browse/HIVE-12185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Varadharajan updated HIVE-12185: -------------------------------- Attachment: HIVE-12185.1.patch > setAutoCommit should only fail if auto commit is being disabled > --------------------------------------------------------------- > > Key: HIVE-12185 > URL: https://issues.apache.org/jira/browse/HIVE-12185 > Project: Hive > Issue Type: Bug > Components: JDBC > Affects Versions: 1.2.0, 1.1.0, 1.2.1 > Reporter: Varadharajan > Assignee: Varadharajan > Priority: Minor > Attachments: HIVE-12185.1.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > Auto Commit is enabled by default in hive as documented at > https://cwiki.apache.org/confluence/display/Hive/Hive+Transactions#HiveTransactions-Limitations. > In accordance with this, HiveConnection.java:getAutoCommit method returns > true. Similarly, setAutoCommit(true) should pass silently since it is already > enabled and a SQL exception should be thrown if its called with false. -- This message was sent by Atlassian JIRA (v6.3.4#6332)