This message was deleted.
# troubleshooting
s
This message was deleted.
b
e
Hi @Akhila Mukka, thank you for your response but i have already tried those solutions and didn’t work unfortunately 😞
a
@enes topuz val jdbcDF = spark.read.format("jdbc").option("url", "jdbcavaticaremote:url=http://broker:8082/druid/v2/sql/avatica/").option("dbtable", "druid.wikipedia").load()
with this i am able to get the below output jdbcDF: org.apache.spark.sql.DataFrame = [__time: timestamp, isRobot: string ... 22 more fields]
e
i am getting below error with your command : Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field “rpcMetadata” (class org.apache.calcite.avatica.remote.Service$CloseConnectionResponse), not marked as ignorable (0 known properties: ]) Which version of avatica jar you are using ?
a
avatica-1.8.0.jar
./bin/spark-shell --driver-class-path avatica-1.8.0.jar --jars avatica-1.8.0.jar
👍 1
scala> val jdbcDF = spark.read.format("jdbc").option("url", "jdbcavaticaremote:url=http://broker:8082/druid/v2/sql/avatica/").option("dbtable", "wikipedia").load() jdbcDF: org.apache.spark.sql.DataFrame = [__time: timestamp, isRobot: string ... 22 more fields]
e
Thank you @Akhila Mukka i could get the same output as you and show the dataframe
a
good to know that it helped.