cancel
Showing results for 
Search instead for 
Did you mean: 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results for 
Search instead for 
Did you mean: 

Databricks JDBC driver. Databasemetadata.getColumns does not return columns of VARIANT type

151640
New Contributor III

Resultset returned by DatabaseMetadata.getColumns does not include the variant column in a table. Only includes the non-variant column.
Databricks JDBC driver 02.06.40.1071

create table tvariant(rnum int, c1 variant);

2 REPLIES 2

filipniziol
Esteemed Contributor

Hi @151640 ,

According to the documentation VARIANT data type in not supported by Databricks JDBC driver.
Here is the list of supported data types:

filipniziol_0-1728022862306.png

 




151640
New Contributor III

When a vendor announces new features such as a data type, their documentation may need to state if their in-market drivers do not support it or the minimum mandatory version. If they do not, then mutual customers may observe an unexpected behaviour which they may mistakenly think is the application and not the driver etc.

Recommend that the Databricks Product Manager re Databricks driver review and confirm if and when SIMBA will support it.

https://www.databricks.com/blog/whats-new-with-databricks-sql?utm_source=twitter&utm_medium=organic-...