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

Use a Factory in MaterializationService to create tables

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0-incubating
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: