Commit a269ffd
committed
fix: SortExec.fetch was 0 when create_filter was called
create_filter() was called before new_sort.fetch was set, so
DynamicFilterPhysicalExpr.fetch was always 0 (or None from old self).
Fix by setting fetch before creating the filter.
This was the root cause of stats init and cumulative prune not
triggering on CI — fetch=0 meant "no rows needed" → skip.1 parent 839ab5a commit a269ffd
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | 965 | | |
970 | 966 | | |
971 | 967 | | |
972 | | - | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
973 | 975 | | |
974 | 976 | | |
975 | 977 | | |
| |||
0 commit comments