Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4179

org.apache.calcite.jdbc package polluting core Calcite planning packages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • core
    • None

    Description

      Several classes under org.apache.calcite.jdbc package are used by planning classes. As those JDBC classes are some form of implementation, it means the Calcite API has some kind of coupling, causing extra challenges for alternate implementations.

      One of the central classes of org.apache.calcite.jdbc is CalciteSchema which represents the catalog space. This class is designed to load the entire catalog and hold it in memory, which is a problem for those having catalogs too large for this to be practical. This class is sometimes used instead of the more generic Schema and SchemaPlus classes.

      Another similar class is CalcitePrepare: the class is for example used by org.apache.calcite.prepare.Prepare instead of the dependency being the other way around.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              laurent Laurent Goujon
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: