Repository navigation
perf(coalesce): specialize sparse byte array filters - #11696
Rich-T-kid merged 2 commits into
Conversation
|
run benchmark coalesce_kernels |
1 similar comment
|
run benchmark coalesce_kernels |
|
🤖 Benchmark starting (GKE) | trigger Target: coalesce_kernels Sharding factor: 1 (1 workers). Comparing rich-T-kid/coalescer-byte-array-fastpaths (3d8b6dd) to 0706d31 (merge-base) diff Run configurationrun benchmark coalesce_kernels
shards: 1
Results will be posted when all workers finish. File an issue against this benchmark runner |
|
🤖 Benchmark starting (GKE) | trigger Target: coalesce_kernels Sharding factor: 1 (1 workers). Comparing rich-T-kid/coalescer-byte-array-fastpaths (3d8b6dd) to 0706d31 (merge-base) diff Run configurationrun benchmark coalesce_kernels
shards: 1
Results will be posted when all workers finish. File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Target: coalesce_kernels Comparing rich-T-kid/coalescer-byte-array-fastpaths (3d8b6dd) to 0706d31 (merge-base) diff Run configurationrun benchmark coalesce_kernels
shards: 1
DetailsPer-runner informationcoalesce_kernels — shard 1/1Node: gk3-benchmark-cluster-nap-28gt8wfj-c4eda339-rjbh Instance: c4a-highmem-16 (12 vCPU / 65 GiB) uname: BENCH_COMMAND: cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernelsCPU Details (lscpu)Resource Usagebase (merge-base)
branch
File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Target: coalesce_kernels Comparing rich-T-kid/coalescer-byte-array-fastpaths (3d8b6dd) to 0706d31 (merge-base) diff Run configurationrun benchmark coalesce_kernels
shards: 1
DetailsPer-runner informationcoalesce_kernels — shard 1/1Node: gk3-benchmark-cluster-nap-28gt8wfj-cf05c2d9-8hqz Instance: c4a-highmem-16 (12 vCPU / 65 GiB) uname: BENCH_COMMAND: cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernelsCPU Details (lscpu)Resource Usagebase (merge-base)
branch
File an issue against this benchmark runner |
3d8b6dd to
78e4785
Compare
|
run benchmark coalesce_kernels |
|
🤖 Benchmark starting (GKE) | trigger Target: coalesce_kernels Sharding factor: 1 (1 workers). Comparing rich-T-kid/coalescer-byte-array-fastpaths (78e4785) to 33d338d (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: utf8
shards: 1
Results will be posted when all workers finish. File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Target: coalesce_kernels Comparing rich-T-kid/coalescer-byte-array-fastpaths (78e4785) to 33d338d (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: utf8
shards: 1
DetailsPer-runner informationcoalesce_kernels — shard 1/1Node: gk3-benchmark-cluster-nap-12cg1nzb-82404774-nftr Instance: c4a-highmem-16 (12 vCPU / 65 GiB) uname: BENCH_COMMAND: cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernelsCPU Details (lscpu)Resource Usagebase (merge-base)
branch
File an issue against this benchmark runner |
|
run benchmark coalesce_kernels |
|
🤖 Benchmark starting (GKE) | trigger Target: coalesce_kernels Sharding factor: 1 (1 workers). Comparing rich-T-kid/coalescer-byte-array-fastpaths (034df33) to 33d338d (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: utf8
shards: 1
Results will be posted when all workers finish. File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Target: coalesce_kernels Comparing rich-T-kid/coalescer-byte-array-fastpaths (034df33) to 33d338d (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: utf8
shards: 1
DetailsPer-runner informationcoalesce_kernels — shard 1/1Node: gk3-benchmark-cluster-nap-xmfk4aok-ea225ed2-ssjc Instance: c4a-highmem-16 (12 vCPU / 65 GiB) uname: BENCH_COMMAND: cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernelsCPU Details (lscpu)Resource Usagebase (merge-base)
branch
File an issue against this benchmark runner |
|
run benchmark coalesce_kernels |
1 similar comment
|
run benchmark coalesce_kernels |
|
🤖 Benchmark starting (GKE) | trigger Target: coalesce_kernels Sharding factor: 1 (1 workers). Comparing rich-T-kid/coalescer-byte-array-fastpaths (d803748) to 1357f25 (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: utf8
shards: 1
Results will be posted when all workers finish. File an issue against this benchmark runner |
|
🤖 Benchmark starting (GKE) | trigger Target: coalesce_kernels Sharding factor: 1 (1 workers). Comparing rich-T-kid/coalescer-byte-array-fastpaths (d803748) to 1357f25 (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: utf8
shards: 1
Results will be posted when all workers finish. File an issue against this benchmark runner |
d803748 to
431cfe1
Compare
|
🤖 Benchmark completed (GKE) | trigger Target: coalesce_kernels Comparing rich-T-kid/coalescer-byte-array-fastpaths (d803748) to 1357f25 (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: utf8
shards: 1
DetailsPer-runner informationcoalesce_kernels — shard 1/1Node: gk3-benchmark-cluster-nap-zcnfokor-33f033cc-t48v Instance: c4a-highmem-16 (12 vCPU / 65 GiB) uname: BENCH_COMMAND: cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernelsCPU Details (lscpu)Resource Usagebase (merge-base)
branch
File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Target: coalesce_kernels Comparing rich-T-kid/coalescer-byte-array-fastpaths (d803748) to 1357f25 (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: utf8
shards: 1
DetailsPer-runner informationcoalesce_kernels — shard 1/1Node: gk3-benchmark-cluster-nap-1ni0tm11-7db601d0-7kmt Instance: c4a-highmem-16 (12 vCPU / 65 GiB) uname: BENCH_COMMAND: cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernelsCPU Details (lscpu)Resource Usagebase (merge-base)
branch
File an issue against this benchmark runner |
431cfe1 to
852faf9
Compare
|
🤖 Benchmark starting (GKE) | trigger Target: coalesce_kernels Sharding factor: 1 (1 workers). Comparing rich-T-kid/coalescer-byte-array-fastpaths (44de5a7) to 34bf27b (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: '^filter: (single|mixed)_utf8,'
shards: 1
Results will be posted when all workers finish. File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Target: coalesce_kernels Comparing rich-T-kid/coalescer-byte-array-fastpaths (44de5a7) to 34bf27b (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: '^filter: (single|mixed)_utf8,'
shards: 1
DetailsPer-runner informationcoalesce_kernels — shard 1/1Node: gk3-benchmark-cluster-nap-2xmpnjh3-10cb40e8-gl4t Instance: c4a-highmem-16 (12 vCPU / 65 GiB) uname: BENCH_COMMAND: cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernelsCPU Details (lscpu)Resource Usagebase (merge-base)
branch
File an issue against this benchmark runner |
44de5a7 to
b47d008
Compare
|
run benchmark coalesce_kernels env: shards: 1 |
|
🤖 Benchmark starting (GKE) | trigger Target: coalesce_kernels Sharding factor: 1 (1 workers). Comparing rich-T-kid/coalescer-byte-array-fastpaths (b47d008) to 34bf27b (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: '^filter: (single|mixed)_utf8,'
shards: 1
Results will be posted when all workers finish. File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Target: coalesce_kernels Comparing rich-T-kid/coalescer-byte-array-fastpaths (b47d008) to 34bf27b (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: '^filter: (single|mixed)_utf8,'
shards: 1
DetailsPer-runner informationcoalesce_kernels — shard 1/1Node: gk3-benchmark-cluster-nap-jut7mxe7-f4d22d38-lm5q Instance: c4a-highmem-16 (12 vCPU / 65 GiB) uname: BENCH_COMMAND: cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernelsCPU Details (lscpu)Resource Usagebase (merge-base)
branch
File an issue against this benchmark runner |
719458d to
cbdbe4c
Compare
Avoid materializing intermediate arrays for very sparse Utf8, LargeUtf8, Binary, and LargeBinary filters. Copy offsets, values, and validity directly with checked offset growth, while retaining the materialized path above the benchmarked cutoff.
cbdbe4c to
ca07788
Compare
|
run benchmark coalesce_kernels env: shards: 1 |
|
🤖 Benchmark starting (GKE) | trigger Target: coalesce_kernels Sharding factor: 1 (1 workers). Comparing rich-T-kid/coalescer-byte-array-fastpaths (ca07788) to a543411 (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: '^filter: (single|mixed)_utf8,'
shards: 1
Results will be posted when all workers finish. File an issue against this benchmark runner |
|
run benchmark coalesce_kernels env: shards: 1 |
|
🤖 Benchmark starting (GKE) | trigger Target: coalesce_kernels Sharding factor: 1 (1 workers). Comparing rich-T-kid/coalescer-byte-array-fastpaths (ca07788) to a543411 (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: '^filter: (single|mixed)_utf8,'
shards: 1
Results will be posted when all workers finish. File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Target: coalesce_kernels Comparing rich-T-kid/coalescer-byte-array-fastpaths (ca07788) to a543411 (merge-base) diff Run configurationrun benchmark coalesce_kernels
env:
BENCH_FILTER: '^filter: (single|mixed)_utf8,'
shards: 1
DetailsPer-runner informationcoalesce_kernels — shard 1/1Node: gk3-benchmark-cluster-nap-zdv5rcwm-a2ee1d0a-gj7v Instance: c4a-highmem-16 (12 vCPU / 65 GiB) uname: BENCH_COMMAND: cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernelsCPU Details (lscpu)Resource Usagebase (merge-base)
branch
File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Target: coalesce_kernels Comparing rich-T-kid/coalescer-byte-array-fastpaths (ca07788) to a543411 (merge-base) diff Run configurationDetailsPer-runner informationcoalesce_kernels — shard 1/1Node: gk3-benchmark-cluster-nap-zdv5rcwm-4b08923e-n8x7 Instance: c4a-highmem-16 (12 vCPU / 65 GiB) uname: BENCH_COMMAND: CPU Details (lscpu)Resource Usagebase (merge-base)
branch
File an issue against this benchmark runner |
ca07788 to
218443f
Compare
Size the initial variable-width byte builder allocation from the rows being appended, and clarify the schema capability flag.
218443f to
f2801f9
Compare
|
thanks @Jefffrey |
Keep both byte-array and List sparse-filter specializations enabled when resolving the BatchCoalescer capability routing conflict.
Which issue does this PR close?
Part of #7764. prefix for #11563
Why
Very sparse filters currently materialize variable-width byte arrays before coalescing them, which copies the selected data twice.
What changed
Adds a specialized coalescer for
Utf8,LargeUtf8,Binary, andLargeBinary. It uses a singleGenericByteBuilderfor the in-progress output. Sparse index filters selecting at most1 / 1024of rows append selected values directly; other filters retain the materialized filtering path.user facing?
There are no public API changes.