Repository navigation
Commit 71b8870
committed
[improvement](be) Batch complex array_agg column copies
### What problem does this PR solve?
Issue Number: close apache#65976
Related PR: apache#66601
Problem Summary: Complex array_agg state deserialization and result insertion copied contiguous column ranges one row at a time. Replace both loops with the column batch range insertion API to reduce virtual dispatch and per-row insertion overhead without changing aggregation semantics.
### Release note
None
### Check List (For Author)
- Test: No need to test (behavior-preserving replacement of contiguous insert_from loops; tests not run per request)
- Behavior changed: No
- Does this need documentation: No1 parent 4d28bde commit 71b8870
1 file changed
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | | - | |
254 | | - | |
| 252 | + | |
255 | 253 | | |
256 | 254 | | |
257 | 255 | | |
258 | 256 | | |
259 | 257 | | |
260 | 258 | | |
261 | 259 | | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
| 260 | + | |
266 | 261 | | |
267 | 262 | | |
268 | 263 | | |
| |||
0 commit comments