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

RelOptTableImpl.create always expects QueryableTable type in OptiqSchema...

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      ....TableEntry.

      Trying Drill with optiq 0.6-SNAPSHOT and I ran into the class cast problem in ```RelOptTableImpl.create(RelOptSchema schema, RelDataType rowType, final TableEntry tableEntry)```

      This breaks when the tables are subtypes of Table and not Queryable table. In Drill case all tables implement Table interface and not QueryableTable. This seems to be a regression from issue https://github.com/julianhyde/optiq/issues/222.

      ---------------- Imported from GitHub ----------------
      Url: https://github.com/julianhyde/optiq/pull/244
      Created by: vkorukanti
      Labels:
      Created at: Thu Apr 10 01:50:07 CEST 2014
      State: closed

      Attachments

        Activity

          People

            Unassigned Unassigned
            github-import GitHub Import
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: