Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
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:
- Add indexes to schema and set up all schema listeners.
- Add Collation to planner's output trait set and check if generated plan is properly chosen in accordance to index sort direction.
- Implement index scans with filtering
- Add Sort node to exec.
Attachments
Issue Links
- fixes
-
IGNITE-13026 Calcite integration. Fix metadata for IgniteTable when it has embedded filters.
- Resolved
- is part of
-
IGNITE-12248 Apache Calcite based query execution engine
- Open
- links to