[ https://issues.apache.org/jira/browse/HIVE-17683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16562225#comment-16562225 ]
Igor Kryvenko commented on HIVE-17683: -------------------------------------- [~ekoifman] Hi, Eugene. Yeah, it was related, I just missed one {{if}} branch in {{AcidUtils}}. I've attached the patch with the fix. > Add explain locks <sql> command > ------------------------------- > > Key: HIVE-17683 > URL: https://issues.apache.org/jira/browse/HIVE-17683 > Project: Hive > Issue Type: New Feature > Components: Transactions > Reporter: Eugene Koifman > Assignee: Igor Kryvenko > Priority: Critical > Attachments: HIVE-17683-branch-3.patch, HIVE-17683.01.patch, > HIVE-17683.02.patch, HIVE-17683.03.patch, HIVE-17683.04.patch, > HIVE-17683.05.patch, HIVE-17683.06.patch > > > Explore if it's possible to add info about what locks will be asked for to > the query plan. > Lock acquisition (for Acid Lock Manager) is done in > DbTxnManager.acquireLocks() which is called once the query starts running. > Would need to refactor that. -- This message was sent by Atlassian JIRA (v7.6.3#76005)