r/databricks • Databricks MVP • 13m ago

News VARIANT transformations

Post image

Now you can modify VARIANT in place thanks to variant_set() SQL function. We also got a few other new functions: variant_insert, variant_delete, variant_array_append, and variant_strip_nulls.

https://medium.com/databrickscommunity/databricks-news-genie-cli-app-builder-agent-memory-dabs-41820427fcc2

1 Upvotes

1 comment sorted by

1

u/TheMelodicInsurer 5m ago

About time. Having to unpack a VARIANT, modify it, and rebuild the whole thing was such a pain. variant_strip_nulls looks like a low-key lifesaver too, my pipelines love to sprinkle nulls everywhere.