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

Calcite integration. Secondary indexes support.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • sql
    • None

    Description

      Secondary indexes should be supported by Calcite-based engine as well as they supported by the legacy H2 engine. At first we can use the old engine for indexes maintenance (building, updating, etc). In this case Calcite engine will only use indexes metadata for query planning and index scans for query execution. On the next iteration we need to eliminate the old engine usage.

      Approximate plan for indexes support implementation:

      1. Add indexes to schema and set up all schema listeners.
      2. Add Collation to planner's output trait set and check if generated plan is properly chosen in accordance to index sort direction.
      3. Implement index scans with filtering
      4. Add Sort node to exec. 

       

      Attachments

        Issue Links

          Activity

            People

              rkondakov Roman Kondakov
              rkondakov Roman Kondakov
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1h 50m
                  1h 50m