Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-19768

Port configured tables workaround from configuration to Catalog

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 3.0
    • None

    Description

      Currently, TableManager contains a workaround (for a problem of getting of the most recent schemas without a proper Schema Sync mechanism), it works like this: on each attempt to resolve a table by ID, we look into the configuration to make sure that the table with this ID is created and not dropped yet. Also, we look into the configuration on each attempt to get a list of all tables.

      A switch from Configuration to the Catalog is under way, so we need to switch this workaround from Configuration to the Catalog as well. ConfiguredTablesCache needs to be modified to achieve this.

      An alternative would to be implement both the switch from Configuration to Catalog AND introduction of the proper Schema Sync at once, but this will greatly complicate the matters, it seems to be better to do these changes one after another (first Catalog, then Schema Sync).

      Attachments

        Issue Links

          Activity

            People

              amashenkov Andrey Mashenkov
              rpuch Roman Puchkovskiy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h