Commit 76434f6
committed
fix: gc string view arrays in RepartitionExec
Fixes #20491
- Took the fix from `ExternalSorter` introduced in #14823
- If any `StringViewArray` columns are present in the repartitioned
input, we gc them to reduce duplicate tracking of the same string view
buffer.
- Fixes over-counting when there's a `RepartitionExec` above a partial
agg on a `StringViewArray` column.1 parent 8142308 commit 76434f6
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1390 | 1390 | | |
1391 | 1391 | | |
1392 | 1392 | | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
1393 | 1413 | | |
1394 | 1414 | | |
1395 | 1415 | | |
| |||
0 commit comments