You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Enrico Olivelli (JIRA)" <ji...@apache.org> on 2017/12/19 13:50:06 UTC

[jira] [Created] (CALCITE-2100) Ability not to use DriverManager to run only the planner

Enrico Olivelli created CALCITE-2100:
----------------------------------------

             Summary: Ability not to use DriverManager to run only the planner
                 Key: CALCITE-2100
                 URL: https://issues.apache.org/jira/browse/CALCITE-2100
             Project: Calcite
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.15.0
            Reporter: Enrico Olivelli
            Assignee: Julian Hyde


At this point:

{code:java}
org.apache.calcite.tools.Frameworks.withPrepare(Frameworks.java:156)
  at org.apache.calcite.tools.Frameworks.withPlanner(Frameworks.java:111)
  at org.apache.calcite.prepare.PlannerImpl.ready(PlannerImpl.java:145)
  at org.apache.calcite.prepare.PlannerImpl.parse(PlannerImpl.java:175)
{code}

we are going to use DriverManager to get a connection to "jdbc:calcite:", this is not very efficient and in some cases it can lead to errors if the o.a.c.jdbc.Driver has not been loaded.

It would be great to be able to skip this step and be able to use the Planner




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)