If I create an external table in Databricks, how can I check its location (in Delta lake) using an SQL query?
CodePudding user response:
This can be done by using of multiple ways .
%sql
show create table database.tablename
or
%sql
desc formatted database.tablename
CodePudding user response:
It can be done by using the following command.
describe detail <the table>
The location would be listed in the column location
.