Ultimate access to all questions.
How can you determine the location of an existing schema in Delta Lake?
Explanation:
The correct method to find the location of an existing schema in Delta Lake is by running the SQL command DESCRIBE SCHEMA EXTENDED schema_name
. This command provides detailed information about the schema, including its location, which is either the managed location in the metastore or the external location if specified. The output includes a Location
property indicating the storage path of the schema.
SHOW LOCATION
for schemas in Databricks SQL or Apache Spark SQL.