Hi I'm using Azure databricks 11.3 LTS(include Apache Spark 3.3.0,scala 2.12) .I have a schema mydata under which I have around 25 tables.I need to find location of all tables under this schema. My sample output will look like in this format
| Table Name | Location |
|____________|__________|
|..... |.... |
Tried sql command
Describe detail mydata.table_name
But this is a time consuming process as I need to write the sql code for 25 tables Can you please guide me how to do that?
I have tried the approach below:
Results:
In the code above, I am getting the extended descriptions of
default.table2anddefault.table1.