Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The sorted index spool does not take into account input collation directions and null ordering. When generating collation based on conditions, default direction and null ordering are used. This leads to wrong planning in case of not default null ordering (additional sort node inserted even if we iterating by index with required collation) and wrong index conditions usage in case of descending direction (upper and lower bound are inverted for DESC direction).
Attachments
Issue Links
- is part of
-
IGNITE-12248 Apache Calcite based query execution engine
- Open
- links to