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

Eugene Koifman commented on HIVE-19213:
---------------------------------------

transactions are opened before the query is analyzed so you can't skip that 
(w/o adding a hack).
We have Entity.Type.DUMMYPARTITION.  If we can add Type.DUMMTABLE, the lock 
manager can easily skip acquiring locks for this resource.

> Values query: Stop opening transactions on _dummy_table
> -------------------------------------------------------
>
>                 Key: HIVE-19213
>                 URL: https://issues.apache.org/jira/browse/HIVE-19213
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Gopal V
>            Priority: Major
>
> When the -query-cache is hit- query is a values clause, the ACID TxnManager 
> opens a txn + lock + heartbeats on _dummy_database._dummy_table.
> This is blocking values clause from jumping through the fast-paths for 
> transactions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to