SQL
ReleaseNice to know
New SQL functions edit VARIANT values in place: variant_insert, variant_set, variant_delete and more
From Databricks release notes (AWS)
Databricks SQL and Databricks Runtime 19 and above add functions that change a VARIANT value at a path: variant_insert, variant_set, variant_delete and variant_array_append, plus variant_pick to keep only chosen paths with their parents and variant_strip_nulls to remove variant nulls. try_variant_insert, try_variant_set and try_variant_array_append are error-tolerant versions.
What to re-read
More from SQL
- Releaseai_forecast version 2 to be on by default in compliance security profile workspaces from January 2027
- Previewai_mask gains an opt-in version 2.0 that masks by system classifiers (Beta)
- Releaseai_forecast version 2 is GA, adding holidays, external covariates and non-negative forecasts
- Releasearray_contains on a constant empty array will return NULL, not false, for a NULL value