07-26-2024 03:21 AM
Hi
I've tried to enabled a table to test the new variant data type (public preview)
I used the alter cmd:
07-26-2024 04:39 AM
According to documentation, serverless in April was on runtime that roughly corresponds to 14.3. Since then, newest version is 2024.30, but they don't mention anywhere that runtime is equivalent to 15.3
Serverless compute release notes - Azure Databricks | Microsoft Learn
07-26-2024 04:15 AM
Hi @RobsonNLPT ,
What runtime do you use?
Databricks Runtime 15.3 or above to read and write tables with variant support enabled.
07-26-2024 04:23 AM
Yes but I tried using 2 cluster types
SQL Serverless and New Compute Serverless.
Error in both
07-26-2024 04:39 AM
According to documentation, serverless in April was on runtime that roughly corresponds to 14.3. Since then, newest version is 2024.30, but they don't mention anywhere that runtime is equivalent to 15.3
Serverless compute release notes - Azure Databricks | Microsoft Learn
07-26-2024 05:15 AM
But wat about SQL Serverless?
07-26-2024 05:22 AM
I've tested using a notebook with a cluster and runtime 15.3.
I was able to create a table with variant data type using spark sql api
07-26-2024 05:31 AM - edited 07-26-2024 05:31 AM
Yep, it succeeded because now you've used runtime that is supported. If the answer was helpful to you, you can check it as a solution.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group