Hi! Pinot Team. Is there a guide to connecting to ...
# general
c
Hi! Pinot Team. Is there a guide to connecting to a cluster from SQL Tools (dbeaver, mster, power bi etc) using pinot jdbc driver? without going through trino.
1
m
Currently, if you want full SQL support, the only way is via Prestro/Trino.
c
@Mayank If only select sql is enough, is there a way?
m
You can try pinot jdbc driver
cc: @Kartik Khare
c
Can you give me a guide? I'm testing in dbeaver, and it's failing. LIBRARY : using pinot-jdbc-client-0.10.0.jar JDBC URL :
jdbc:<pinot://pinot-poc.domain.com>:port
AUTH : using id/pw PROPERTIES : headers.Authorization / hashvalues
We will have to provide SQL Tool to developers, and we are looking for a way to integrate with BI Tool. So, I am looking for an integration method through the JDC driver. I can use Trino, but I'm looking for various integrations. Because ZooKeeper data can be edited and AP is accessible, Pinot's data explorer (UI) cannot be provided.
m
@Kartik Khare could you comment
k
Hi are the brokers host:port accessible in the machine where dbeaver is running? Also the
<http://pinot-poc.domain.com|pinot-poc.domain.com>
needs to be controller url.
c
This is your controller address and is accessible.
dbeaver says, Reason: can't load driver calss 'org.apache.pinot.client.PinotDriver'. Error creating driver 'DefaultTenant / Pinot' instance. org/slf4j/LoggerFactory
k
ohh so this is failing in the driver registration process itself and not even reaching the connection point is there some way we can get full logs? I am suspecting it is trying to read some field from database metadata and failing
c
sorry no more log. dbeaver says different : Unexpected driver error occurred while connection to the database org/apache/pinot/client/JsonAsyncHttpPinotClientTransportFactory
dbeaver connect pinot cluster using pinot jdbc. library : • pinot-jdbc-client-0.10.0-shaded.jar • pinot-all-0.10.0-jar-with-dependencies.jar connection url :
jdbc:pinot://[controller_server:port]
properties : • headers.Authorization : Basic [bas64string] • tenant : DefaultTenant