Open zeinali0 opened 4 years ago
Hi @zeinali0 can you please write more info like your table schema, and what is the error that you are getting ? And the version of YugabyteDB & Presto that you are using ?
I updated the issue.
It seems the problem is in Datastax driver which know nothing about Jsonb type.
Even after bypassing Datastax driver, CassandraType could be problem as there is no JSONB in this enum.
CassandraColumnHandle is trying to deserialize json to CassandraType
.
As a quick-fix could be anyway to just ignore jsonb columns manually?
As a quick-fix could be anyway to just ignore jsonb columns manually?
What happens when you don't select the jsonb
column ?
I can't do any select it totally ignore the table. mean show tables;
will not show those tables(tables with JSONB column).
Issue in Presto for tracking: https://github.com/prestodb/presto/issues/15241
Trying to see if presto cassandra-driver can be tailored for Yugabyte DB. When I replaced cassandra-driver jar with locally built jar which references com.yugabyte's cassandra-driver-core, I got:
1) Error in custom provider, java.lang.NullPointerException
at io.prestosql.plugin.cassandra.CassandraClientModule.createCassandraSession(CassandraClientModule.java:68)
while locating io.prestosql.plugin.cassandra.CassandraSession
Caused by: java.lang.NullPointerException
at com.datastax.driver.core.Cluster$Manager.<init>(Cluster.java:1408)
at com.datastax.driver.core.Cluster$Manager.<init>(Cluster.java:1355)
at com.datastax.driver.core.Cluster.<init>(Cluster.java:125)
at com.datastax.driver.core.Cluster.<init>(Cluster.java:98)
at com.datastax.driver.core.DelegatingCluster.<init>(DelegatingCluster.java:45)
at io.prestosql.plugin.cassandra.ReopeningCluster.<init>(ReopeningCluster.java:44)
at io.prestosql.plugin.cassandra.CassandraClientModule.createCassandraSession(CassandraClientModule.java:133)
Hi guys, anything new about this issue?
Jira Link: DB-2325 Presto ignore whole tables which has one or more JSONB column while for other unsupported-type like UDTs it just ignore the column. Yugabyte v2.3 Presto-341
Table:
Presto-Server Error: