Hello, this might be trivial but am not sure how to run this properly.

Currently, i have implemented an adapter with rules to apply relevant
conversions to my own convention.

For tests, i have implemented java entry point which initializes a
TpchSchema using TpchSchemaFactory. Using this schema, i have initialized
calcite's objects such as the FrameworkConfig with Planner, Cost factory
and my own rule sets. Using those objects i perform query planning (no
execution as of now).

This works well but,

Now i try to operate it all through sqlline, but when i connect using the
connection string
*jdbc:calcite:schemaFactory=org.apache.calcite.adapter.tpch.TpchSchemaFactory
admin admin, *i am not sure how would i apply my adapter on top of it (i.e,
cost factory and rules)

Everything is in the class path of course.

I'm probably misunderstanding or misusing something here and would
appreciate any help,
Thanks!

Reply via email to