[ 
https://issues.apache.org/jira/browse/HIVE-12441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15139804#comment-15139804
 ] 

Alan Gates commented on HIVE-12441:
-----------------------------------

The patch looks fine, but I'm unclear what issue this is causing.  Are we just 
saving an unnecessary call to the metastore?

> Driver.acquireLocksAndOpenTxn() should only call recordValidTxns() when needed
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-12441
>                 URL: https://issues.apache.org/jira/browse/HIVE-12441
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI, Transactions
>    Affects Versions: 1.0.0
>            Reporter: Eugene Koifman
>            Assignee: Wei Zheng
>         Attachments: HIVE-12441.1.patch, HIVE-12441.2.patch
>
>
> recordValidTxns() is only needed if ACID tables are part of the query.  
> Otherwise it's just overhead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to