Reputation: 214
I am trying to run calcite and sqlline with druid. I downloaded the ZIP from calcite downloads website and put it inside the druid folder. When i try to run sqlline command
!connect jdbc:calcite:model=druid/src/test/resources/druid-wiki-model.json admin admin
from the calcite folder it throws driver error
No known driver to handle "jdbc:calcite:model=druid/src/test/resources/druid-wiki-model.json"
.
Am i missing some driver or installation ?
Upvotes: 1
Views: 1313
Reputation: 1354
Make sure that Calcite's JAR file is on SQLline's class path. (Probably the easiest way to do this is to edit sqlline.sh
or sqlline.bat
.) SQLline loads all JDBC drivers it finds on its class path.
Upvotes: 2