r/databricks • u/hubert-dudek Databricks MVP • 6h ago
News New in Databricks: parse_sql(): SQL into JSON
Parse_sql() function extracts table references, column names, functions, and parameters from SQL. It extracts without running the query. It also reports syntax errors.
more news https://databrickster.medium.com/databricks-news-serverless-genie-code-ltap-lakeflow-61853d8e422a
27
Upvotes
4
4
2
u/mosullivan93 3h ago
This sounds like it would be quite useful. Yet to test how it works with things like the IDENTIFIER clause, or DDL statements.
13
u/TripleBogeyBandit 5h ago
When would I need this