Commit c92ca25
committed
fix(planner): use getNumGroups() instead of getGroupsPosInScope() in planCopyRelFrom
The Accumulate check for COPY rel from query was incorrectly using
getGroupsPosInScope().size() == 1 instead of getNumGroups() <= 1.
LogicalPartitioner requires exactly one group (getNumGroups() == 1),
but the old check only verified one group had projected expressions,
missing cases where multiple groups existed with only one in scope.1 parent 9ebe044 commit c92ca25
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments