SHOW SHARES IN PROVIDER
Applies to: Databricks SQL
Databricks Runtime 11.3 LTS and above
Unity Catalog only
Lists the shares a Delta Sharing provider made available to you that match an optionally supplied regular expression pattern. If no pattern is supplied, then the command lists all the provider’s shares. You must own the provider or be metastore administrator to run this command.
Syntax
SHOW SHARES IN PROVIDER provider_name [ [ LIKE ] regex_pattern ]
Parameters
-
The name of the provider that shows shares.
regex_pattern
A regular expression pattern that is used to filter the results of the statement.
- Except for
*
and|
character, the pattern works like a regular expression. *
alone matches 0 or more characters and|
is used to separate multiple different regular expressions, any of which can match.- The leading and trailing blanks are trimmed in the input pattern before processing. The pattern match is case-insensitive.
- Except for
Examples
> SHOW SHARES IN PROVIDER some_provider;
name
---------
vaccine
Related articles
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om