Description
During ORDER BY pushdown, the query planner ignores equality predicates and constants in the ORDER BY keys.
These equality and constant keys should be removed from the ORDER BY clause in advance, so that OrderedIntersectScan and sorting are not performed unnecessarily.
Transform this.order in build_select_sub.go (make a copy and transform the copy), before calling buildScan().
Attachments
Issue Links
- blocks
-
MB-22188 4.6.2 Minor Release
- Closed