Commit 500453b
Remove unnecessary duplicated removal of ordering predicates (#1509)
buildKeysIterationPlan removes ordering predicates from an expression before planning. During planning buildPlanForExpressions is called, which repeats removing ordering predicates without consistently using the result.
To reduce unnecessary duplicated removal it's removed from buildPlanForExpressions and replaced with an assertion. Also its visibility is reduced from public to default as it's called within the package only.1 parent 4cbfa85 commit 500453b
File tree
1 file changed
+3
-4
lines changed- src/java/org/apache/cassandra/index/sai/plan
1 file changed
+3
-4
lines changedLines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | | - | |
| 522 | + | |
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
528 | | - | |
| 527 | + | |
529 | 528 | | |
530 | 529 | | |
531 | | - | |
| 530 | + | |
532 | 531 | | |
533 | 532 | | |
534 | 533 | | |
| |||
0 commit comments