Repository navigation
Commit db27926
committed
Preserve window/ranking sort boundary under ready-first Collect
When window/row-number/ranking nodes are pushed down per region, propagate the GroupNode ordering scheme to each split child so the upper merge uses MergeSort instead of an unordered Collect. Otherwise ready-first Collect scrambles partition continuity and corrupts ROW_NUMBER/RANK/DENSE_RANK results.1 parent 7fcaba3 commit db27926
1 file changed
Lines changed: 24 additions & 3 deletions
File tree
- iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/distribute
Lines changed: 24 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3385 | 3385 | | |
3386 | 3386 | | |
3387 | 3387 | | |
3388 | | - | |
| 3388 | + | |
| 3389 | + | |
| 3390 | + | |
| 3391 | + | |
| 3392 | + | |
| 3393 | + | |
| 3394 | + | |
| 3395 | + | |
3389 | 3396 | | |
3390 | 3397 | | |
3391 | 3398 | | |
| |||
3415 | 3422 | | |
3416 | 3423 | | |
3417 | 3424 | | |
3418 | | - | |
| 3425 | + | |
| 3426 | + | |
| 3427 | + | |
| 3428 | + | |
| 3429 | + | |
| 3430 | + | |
| 3431 | + | |
| 3432 | + | |
3419 | 3433 | | |
3420 | 3434 | | |
3421 | 3435 | | |
| |||
3454 | 3468 | | |
3455 | 3469 | | |
3456 | 3470 | | |
3457 | | - | |
| 3471 | + | |
| 3472 | + | |
| 3473 | + | |
| 3474 | + | |
| 3475 | + | |
| 3476 | + | |
| 3477 | + | |
| 3478 | + | |
3458 | 3479 | | |
3459 | 3480 | | |
3460 | 3481 | | |
| |||
0 commit comments