Hi all,
i am using below to code to query table but query returns rows having column names as values
spark.read
.format("jdbc")
.option("url", "jdbc:databricks://acme.cloud.databricks.com:443/myschema;transportMode=http;ssl=1;httpPath=<httppath>;AuthMech=3;UID=token;PWD=<token>;")
.option("dbtable", "mytable")
.load().show()
+---+---------+
|key|value|
+---+---------+
|key|value|
|key|value|
|key|value|
|key|value|
jdbc driver version is 2.6.36
note that odbc driver works but i dont support struct, map, array as column names .