หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Applies to:
Databricks SQL
Databricks Runtime 11.3 LTS and above
Returns the current metastore id.
Syntax
current_metastore()
Arguments
This function takes no arguments.
Returns
A STRING.
The metastore id is of the form: <cloud>:<region>:<uuid>
Examples
> SELECT current_metastore();
azure:westus:f64dcb39-5046-4d4c-9588-c6ac84f9b38a