cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Metadata on a prepared statement return upper case column names

EricCournarie
Visitor

Hello,

Using the JDBC Driver , when I check the metadata of a prepared statement, the column names names are all uppercase . This does not happen when running a DESCRIBE on the same select. 

Any properties to set , or it is a known issue ? or a workaround ?

SELECT `ColumnName` will return COLUMNNAME if I check PreparedStatement.getMetadata()

DESCRIBE SELECT `ColumnName` returns ColumnName

thanks for your help

Eric

1 REPLY 1

gchandra
Contributor

Looks like a bug. Can you try using double quotes?  SELECT "ColumnName" instead of backticks? 

 



~

Connect with Databricks Users in Your Area

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