โ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