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

Use a Factory in MaterializationService to create tables

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0-incubating
    • None
    • None

    Description

      Follow up of this conversation

      There are two tasks:

      1. Use a Factory to create tables that represent a materialized view.
      2. Add an entry to the schema only if a materialized table was created in defineMaterialization.

      I'll open a WIP progress soon.

      1. was easy to implement.
      2. is proving to be hard because rest of the code requires a CalciteSchema.TableEntry object which is available only when a table is added to schema. I dont know how to get an object for an existing entry.

      Attachments

        Activity

          People

            julianhyde Julian Hyde
            vrajat Rajat Venkatesh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: