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

Butao Zhang commented on HIVE-29244:
------------------------------------

[~neer393]  Thanks for taking care of this ticket. Yes, you've understood it 
perfectly. For both databases and tables, we should support the use of a 
catalog name as a prefix to distinguish lock information across different 
catalogs.

> Add catalog field into ShowLocksRequest
> ---------------------------------------
>
>                 Key: HIVE-29244
>                 URL: https://issues.apache.org/jira/browse/HIVE-29244
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Butao Zhang
>            Priority: Major
>
> [https://github.com/apache/hive/blob/744a0d6869e3a93f5d1f9afc151677ab432709d1/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift#L1292-L1297]
>  
> At present, {*}show locks dbName{*}could only get result from default hive 
> catalog. We need to add catalog field into ShowLocksRequest, so that we can 
> get locks info from different catalogs by new syntax {*}show locks 
> catName.dbName{*}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to