適用於:
Databricks SQL
Databricks 執行環境 11.3 LTS 及以上版本
僅限 Unity Catalog
列出符合可選正則表達式模式的 Delta Sharing 提供者。 如果沒有提供模式,指令會列出所有你可見的提供者。
若要查看提供者,您必須是擁有者或中繼存放區系統管理員。
語法
SHOW PROVIDERS [ [ LIKE ] regex_pattern ]
參數
regex_pattern
正則表達式模式,用來篩選 語句的結果。
-
*除了 和|字元以外,模式的運作方式就像正則表達式。 -
*單獨比對 0 或多個字元,並|用來分隔多個不同的正則表示式,其中任何一個都可以比對。 - 前置和尾端空白會在處理之前,先在輸入模式中修剪。 模式比對不區分大小寫。
-
範例
> SHOW PROVIDERS;
name created_at created_by authentication_type comment
----------- ---------------------------- -------------------------- ------------------- ---------
other_org 2022-01-01T00:00:00.000+0000 alwaysworks@databricks.com DATABRICKS other.org
better_corp 2022-01-01T00:00:01.000+0000 alwaysworks@databricks.com DATABRICKS better.com
some_pov 2022-05-03T12:13:14.000+0000 neverworks@databricks.com TOKEN better.com
> SHOW PROVIDERS LIKE 'other_org';
name created_at created_by authentication_type comment
----------- ---------------------------- -------------------------- ------------------- ---------
other_org 2022-01-01T00:00:00.000+0000 alwaysworks@databricks.com DATABRICKS other.org