SHOW Schemas/Tables/Views/Partitions/Functions/Models
Function
SHOW is a syntax specific to Aura. This syntax is used to list sub-objects of a specified object in LakeFormation.
Precautions
None
Syntax
1 2 3 4 5 6 7 8 | SHOW SCHEMAS; SHOW TABLES IN schema_name; SHOW PARTITIONS table_name; SHOW VIEWS; SHOW VIEWS IN schema_name; SHOW FUNCTIONS; SHOW FUNCTIONS IN schema_name; SHOW MODELS; |
Parameter Description
None
Example
List all databases in the current catalog.
1 | SHOW SCHEMAS; |
List all tables in the test_schema database on LakeFormation.
1 | SHOW TABLES IN test_schema; |
List all partitions of the test_table table on LakeFormation.
1 | SHOW PARTITIONS test_table; |
List all views in the current database on LakeFormation.
1 | SHOW VIEWS; |
List all views in the test_schema database on LakeFormation.
1 | SHOW VIEWS IN test_schema; |
List all user-defined functions in the current database on LakeFormation.
1 | SHOW FUNCTIONS; |
List all functions in the test_schema database on LakeFormation.
1 | SHOW FUNCTIONS IN test_schema; |
List all models in the current catalog.
1 | SHOW MODELS; |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot