Skip to content
SNOWGLOBE
All posts

Describe Table as JSON

Martin DebusPosted on LinkedIn

Table description as JSON are available in Databricks.

When running a SQL-Warehouse or a Cluster with Runtime 16.2 or above, you can get table descriptions as JSON. This comes in very handy if you want to programmatically use parts of the table description in downstream processes. In Python, you can directly convert it to a JSON object and do some Python magic with it.

Thanks to Hubert Dudek for mentioning it, I just had to try it out.

Try it out today and tell me how you use it!

Link: https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/sql-ref-syntax-aux-describe-table

Image for the post Describe Table as JSONView on LinkedIn

Working on this in your platform?

SNOWGLOBE helps teams set up, grow and run Azure Databricks platforms.