Skip to content

arrow-select: fuse inline BinaryView filter coalescing#9755

Open
ClSlaid wants to merge 2 commits intoapache:mainfrom
ClSlaid:fix-9143-binaryview-filter-coalescer
Open

arrow-select: fuse inline BinaryView filter coalescing#9755
ClSlaid wants to merge 2 commits intoapache:mainfrom
ClSlaid:fix-9143-binaryview-filter-coalescer

Conversation

@ClSlaid
Copy link
Copy Markdown
Contributor

@ClSlaid ClSlaid commented Apr 17, 2026

Summary

  • fuse the sparse inline BinaryView filter and coalescing paths so primitive columns and inline views can be appended directly without materialising an intermediate filtered RecordBatch
  • reuse optimised filter indices and null-mask handling for coalescing, while preserving the existing fallback paths for dense and non-inline BinaryView inputs
  • add focused tests and benchmarks for single-column and mixed BinaryView filter cases related to #9143

Verification

  • cargo test -p arrow-select coalesce --lib
  • cargo clippy -p arrow-select --lib --tests -- -D warnings
  • cargo clippy -p arrow --bench coalesce_kernels --features test_utils -- -D warnings
  • cargo bench -p arrow --bench coalesce_kernels --features test_utils -- --noplot single_binaryview
  • cargo bench -p arrow --bench coalesce_kernels --features test_utils -- --noplot mixed_binaryview

Benchmark Results

Measured against a clean origin/main worktree with the same BinaryView benchmark additions. The figures below compare representative median times from the baseline worktree and this branch.

Mixed primitive + BinaryView

  • mixed_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.001: 23.16 ms -> 8.51 ms
  • mixed_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.01: 2.37 ms -> 1.31 ms
  • mixed_binaryview (max_string_len=8), 8192, nulls: 0.1, selectivity: 0.001: 31.70 ms -> 14.33 ms
  • mixed_binaryview (max_string_len=8), 8192, nulls: 0.1, selectivity: 0.01: 3.92 ms -> 2.44 ms

Single BinaryView

  • single_binaryview, 8192, nulls: 0, selectivity: 0.01: 4.86 ms -> 4.90 ms (roughly flat, slightly slower)
  • single_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.001: 34.72 ms -> 19.33 ms
  • single_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.01: 3.46 ms -> 2.03 ms
  • single_binaryview (max_string_len=8), 8192, nulls: 0.1, selectivity: 0.01: 5.93 ms -> 3.97 ms
  • single_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.8: 597 µs -> 619 µs (regression)
  • single_binaryview (max_string_len=8), 8192, nulls: 0.1, selectivity: 0.8: 1.78 ms -> 1.79 ms (roughly flat, slightly slower)

In short, this change substantially improves the mixed primitive + inline BinaryView path that motivated #9143, while the single-column BinaryView benchmarks still show trade-offs: sparse inline cases improve, but dense inline cases are slightly slower and the non-inline single-column path is effectively unchanged.

Closes #9143.

Avoid materialising an intermediate filtered RecordBatch when coalescing sparse inline BinaryView batches, and reuse shared filter indices for primitive columns in mixed batches.

This addresses issue apache#9143 and adds focused tests and benchmarks for single-column and mixed BinaryView filter paths.

Signed-off-by: cl <cailue@apache.org>
@github-actions github-actions bot added the arrow Changes to the arrow crate label Apr 17, 2026
@ClSlaid
Copy link
Copy Markdown
Contributor Author

ClSlaid commented Apr 17, 2026

/cc @alamb PTAL.

@Dandandan
Copy link
Copy Markdown
Contributor

run benchmark coalesce_kernels

Comment thread arrow-select/src/coalesce/primitive.rs Outdated
Split push_batch_with_filter into an explicit fused path classifier and dedicated inline BinaryView dispatch helpers, and use iterator-based extension in the primitive fast path. This keeps unsupported BinaryView layouts on the existing filter path while making the optimised routing for issue apache#9143 clearer to review and maintain.

Signed-off-by: cl <cailue@apache.org>
@ClSlaid
Copy link
Copy Markdown
Contributor Author

ClSlaid commented Apr 18, 2026

Optimising BinaryView filter will give you a slight overall performance regression on that benchmark. @Dandandan 🫠

Warp up

Following message was gpt produced:

I reran the relevant coalesce_kernels cases on the same machine against both the clean baseline worktree and this patch, so the numbers below are direct baseline-vs-patch comparisons.

Results:

  • single_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.01

    • baseline: 3.3982-3.4646 ms
    • patch: 1.9005-1.9241 ms
    • result: substantial improvement
  • mixed_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.01

    • baseline: 2.3677-2.3976 ms
    • patch: 1.1806-1.1959 ms
    • result: substantial improvement
  • mixed_binaryview (max_string_len=20), 8192, nulls: 0, selectivity: 0.01

    • baseline: 2.8777-2.9365 ms
    • patch: 2.9366-2.9687 ms
    • result: slight regression

I also checked which path the benchmark is actually taking.

  • mixed_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.01
    • routes to the fused direct-copy path
  • single_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.01
    • routes to the fused direct-copy path
  • mixed_binaryview (max_string_len=20), 8192, nulls: 0, selectivity: 0.01
    • stays on the unsupported vanilla path

So the main improvement is in the fully inline BinaryView cases that this patch targets. The remaining regression on mixed_binaryview (max_string_len=20) is not coming from the fused fast path, because that benchmark still does not use the fused path at all: once non-inline BinaryView values are present, it remains on the existing filter_record_batch plus push_batch path.

.as_primitive::<T>();

if let Some(nulls) = s.nulls().filter(|nulls| nulls.null_count() > 0) {
for &idx in indices {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there should be a path based on iterator here as well?

@Dandandan
Copy link
Copy Markdown
Contributor

In my earlier experiments, #8951 I also got good performance on my local machine but was regressing quite a bit on the shared benchmarks based on the @alamb runner (which was running on Intel CPUs).

I got some improvements from increasing the selectivity threshold https://github.com/apache/arrow-rs/pull/8951/files#diff-49658ee26403ad8cc710620108072c017373bea671df8d2a83543b9de13d0e8aL42

and there are some optimizations we can do to the filter iterators to make them faster.

@alamb
Copy link
Copy Markdown
Contributor

alamb commented Apr 19, 2026

run benchmarks coalesce_kernels

@adriangbot
Copy link
Copy Markdown

🤖 Arrow criterion benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4276025486-1541-fv7hq 6.12.55+ #1 SMP Sun Feb 1 08:59:41 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected

Comparing fix-9143-binaryview-filter-coalescer (7907826) to d7d9ad3 (merge-base) diff
BENCH_NAME=coalesce_kernels
BENCH_COMMAND=cargo bench --features=arrow,async,test_common,experimental,object_store --bench coalesce_kernels
BENCH_FILTER=
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Arrow criterion benchmark completed (GKE) | trigger

Instance: c4a-highmem-16 (12 vCPU / 65 GiB)

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected
Details

group                                                                                  fix-9143-binaryview-filter-coalescer    main
-----                                                                                  ------------------------------------    ----
filter: mixed_binaryview (max_string_len=128), 8192, nulls: 0, selectivity: 0.001      1.00     39.1±0.24ms        ? ?/sec   
filter: mixed_binaryview (max_string_len=128), 8192, nulls: 0, selectivity: 0.01       1.00      4.4±0.02ms        ? ?/sec   
filter: mixed_binaryview (max_string_len=128), 8192, nulls: 0, selectivity: 0.1        1.00      2.2±0.01ms        ? ?/sec   
filter: mixed_binaryview (max_string_len=128), 8192, nulls: 0, selectivity: 0.8        1.00   1671.2±9.17µs        ? ?/sec   
filter: mixed_binaryview (max_string_len=128), 8192, nulls: 0.1, selectivity: 0.001    1.00     50.6±0.30ms        ? ?/sec   
filter: mixed_binaryview (max_string_len=128), 8192, nulls: 0.1, selectivity: 0.01     1.00      6.5±0.08ms        ? ?/sec   
filter: mixed_binaryview (max_string_len=128), 8192, nulls: 0.1, selectivity: 0.1      1.00      3.4±0.06ms        ? ?/sec   
filter: mixed_binaryview (max_string_len=128), 8192, nulls: 0.1, selectivity: 0.8      1.00  1459.9±14.15µs        ? ?/sec   
filter: mixed_binaryview (max_string_len=20), 8192, nulls: 0, selectivity: 0.001       1.00     35.9±0.28ms        ? ?/sec   
filter: mixed_binaryview (max_string_len=20), 8192, nulls: 0, selectivity: 0.01        1.00      3.6±0.02ms        ? ?/sec   
filter: mixed_binaryview (max_string_len=20), 8192, nulls: 0, selectivity: 0.1         1.00   1306.5±3.43µs        ? ?/sec   
filter: mixed_binaryview (max_string_len=20), 8192, nulls: 0, selectivity: 0.8         1.00   1109.0±3.57µs        ? ?/sec   
filter: mixed_binaryview (max_string_len=20), 8192, nulls: 0.1, selectivity: 0.001     1.00     46.3±0.24ms        ? ?/sec   
filter: mixed_binaryview (max_string_len=20), 8192, nulls: 0.1, selectivity: 0.01      1.00      5.7±0.08ms        ? ?/sec   
filter: mixed_binaryview (max_string_len=20), 8192, nulls: 0.1, selectivity: 0.1       1.00      2.5±0.06ms        ? ?/sec   
filter: mixed_binaryview (max_string_len=20), 8192, nulls: 0.1, selectivity: 0.8       1.00  1459.6±14.53µs        ? ?/sec   
filter: mixed_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.001        1.00     10.3±0.04ms        ? ?/sec   
filter: mixed_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.01         1.00   1349.1±2.52µs        ? ?/sec   
filter: mixed_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.1          1.00    742.6±3.15µs        ? ?/sec   
filter: mixed_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.8          1.00    493.7±1.75µs        ? ?/sec   
filter: mixed_binaryview (max_string_len=8), 8192, nulls: 0.1, selectivity: 0.001      1.00     20.1±0.12ms        ? ?/sec   
filter: mixed_binaryview (max_string_len=8), 8192, nulls: 0.1, selectivity: 0.01       1.00      3.2±0.07ms        ? ?/sec   
filter: mixed_binaryview (max_string_len=8), 8192, nulls: 0.1, selectivity: 0.1        1.00  1954.6±54.66µs        ? ?/sec   
filter: mixed_binaryview (max_string_len=8), 8192, nulls: 0.1, selectivity: 0.8        1.00   1316.7±9.10µs        ? ?/sec   
filter: mixed_dict, 8192, nulls: 0, selectivity: 0.001                                 1.00    124.8±1.36ms        ? ?/sec     1.04    129.9±1.89ms        ? ?/sec
filter: mixed_dict, 8192, nulls: 0, selectivity: 0.01                                  1.00      5.5±0.03ms        ? ?/sec     1.02      5.6±0.02ms        ? ?/sec
filter: mixed_dict, 8192, nulls: 0, selectivity: 0.1                                   1.00      2.7±0.01ms        ? ?/sec     1.06      2.9±0.01ms        ? ?/sec
filter: mixed_dict, 8192, nulls: 0, selectivity: 0.8                                   1.00      2.3±0.02ms        ? ?/sec     1.05      2.4±0.02ms        ? ?/sec
filter: mixed_dict, 8192, nulls: 0.1, selectivity: 0.001                               1.00    121.8±1.24ms        ? ?/sec     1.33    161.9±3.31ms        ? ?/sec
filter: mixed_dict, 8192, nulls: 0.1, selectivity: 0.01                                1.01      6.6±0.06ms        ? ?/sec     1.00      6.6±0.06ms        ? ?/sec
filter: mixed_dict, 8192, nulls: 0.1, selectivity: 0.1                                 1.00      3.2±0.05ms        ? ?/sec     1.04      3.3±0.04ms        ? ?/sec
filter: mixed_dict, 8192, nulls: 0.1, selectivity: 0.8                                 1.00      2.6±0.02ms        ? ?/sec     1.02      2.6±0.01ms        ? ?/sec
filter: mixed_utf8, 8192, nulls: 0, selectivity: 0.001                                 1.03     44.4±0.29ms        ? ?/sec     1.00     42.9±0.14ms        ? ?/sec
filter: mixed_utf8, 8192, nulls: 0, selectivity: 0.01                                  1.00      7.7±0.02ms        ? ?/sec     1.01      7.8±0.02ms        ? ?/sec
filter: mixed_utf8, 8192, nulls: 0, selectivity: 0.1                                   1.00      4.2±0.01ms        ? ?/sec     1.04      4.3±0.01ms        ? ?/sec
filter: mixed_utf8, 8192, nulls: 0, selectivity: 0.8                                   1.01      2.8±0.03ms        ? ?/sec     1.00      2.8±0.05ms        ? ?/sec
filter: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.001                               1.02     56.2±0.25ms        ? ?/sec     1.00     55.0±0.20ms        ? ?/sec
filter: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.01                                1.00      9.5±0.12ms        ? ?/sec     1.00      9.5±0.11ms        ? ?/sec
filter: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.1                                 1.00      5.1±0.10ms        ? ?/sec     1.03      5.2±0.08ms        ? ?/sec
filter: mixed_utf8, 8192, nulls: 0.1, selectivity: 0.8                                 1.03      3.5±0.03ms        ? ?/sec     1.00      3.4±0.03ms        ? ?/sec
filter: mixed_utf8view (max_string_len=128), 8192, nulls: 0, selectivity: 0.001        1.04     39.2±0.31ms        ? ?/sec     1.00     37.9±0.17ms        ? ?/sec
filter: mixed_utf8view (max_string_len=128), 8192, nulls: 0, selectivity: 0.01         1.01      4.4±0.01ms        ? ?/sec     1.00      4.3±0.01ms        ? ?/sec
filter: mixed_utf8view (max_string_len=128), 8192, nulls: 0, selectivity: 0.1          1.00      2.2±0.01ms        ? ?/sec     1.03      2.3±0.01ms        ? ?/sec
filter: mixed_utf8view (max_string_len=128), 8192, nulls: 0, selectivity: 0.8          1.01  1509.2±11.40µs        ? ?/sec     1.00   1487.8±9.28µs        ? ?/sec
filter: mixed_utf8view (max_string_len=128), 8192, nulls: 0.1, selectivity: 0.001      1.03     49.1±0.39ms        ? ?/sec     1.00     47.9±0.18ms        ? ?/sec
filter: mixed_utf8view (max_string_len=128), 8192, nulls: 0.1, selectivity: 0.01       1.01      6.4±0.08ms        ? ?/sec     1.00      6.3±0.07ms        ? ?/sec
filter: mixed_utf8view (max_string_len=128), 8192, nulls: 0.1, selectivity: 0.1        1.00      3.3±0.06ms        ? ?/sec     1.00      3.3±0.05ms        ? ?/sec
filter: mixed_utf8view (max_string_len=128), 8192, nulls: 0.1, selectivity: 0.8        1.02  1466.0±14.76µs        ? ?/sec     1.00  1437.2±11.64µs        ? ?/sec
filter: mixed_utf8view (max_string_len=20), 8192, nulls: 0, selectivity: 0.001         1.03     34.9±0.29ms        ? ?/sec     1.00     33.8±0.06ms        ? ?/sec
filter: mixed_utf8view (max_string_len=20), 8192, nulls: 0, selectivity: 0.01          1.01      3.5±0.02ms        ? ?/sec     1.00      3.5±0.01ms        ? ?/sec
filter: mixed_utf8view (max_string_len=20), 8192, nulls: 0, selectivity: 0.1           1.00   1257.4±2.57µs        ? ?/sec     1.07   1342.5±6.41µs        ? ?/sec
filter: mixed_utf8view (max_string_len=20), 8192, nulls: 0, selectivity: 0.8           1.01    622.2±2.03µs        ? ?/sec     1.00    616.8±2.15µs        ? ?/sec
filter: mixed_utf8view (max_string_len=20), 8192, nulls: 0.1, selectivity: 0.001       1.02     44.9±0.25ms        ? ?/sec     1.00     44.1±0.14ms        ? ?/sec
filter: mixed_utf8view (max_string_len=20), 8192, nulls: 0.1, selectivity: 0.01        1.01      5.7±0.08ms        ? ?/sec     1.00      5.6±0.07ms        ? ?/sec
filter: mixed_utf8view (max_string_len=20), 8192, nulls: 0.1, selectivity: 0.1         1.00      2.5±0.06ms        ? ?/sec     1.00      2.5±0.06ms        ? ?/sec
filter: mixed_utf8view (max_string_len=20), 8192, nulls: 0.1, selectivity: 0.8         1.01  1456.3±14.00µs        ? ?/sec     1.00  1439.0±11.63µs        ? ?/sec
filter: primitive, 8192, nulls: 0, selectivity: 0.001                                  1.04     77.1±1.07ms        ? ?/sec     1.00     74.2±0.20ms        ? ?/sec
filter: primitive, 8192, nulls: 0, selectivity: 0.01                                   1.02      7.1±0.08ms        ? ?/sec     1.00      6.9±0.03ms        ? ?/sec
filter: primitive, 8192, nulls: 0, selectivity: 0.1                                    1.00   1792.4±7.78µs        ? ?/sec     1.09   1951.1±3.72µs        ? ?/sec
filter: primitive, 8192, nulls: 0, selectivity: 0.8                                    1.00   1133.8±4.37µs        ? ?/sec     1.01   1148.7±5.37µs        ? ?/sec
filter: primitive, 8192, nulls: 0.1, selectivity: 0.001                                1.03    105.5±1.03ms        ? ?/sec     1.00    102.4±0.55ms        ? ?/sec
filter: primitive, 8192, nulls: 0.1, selectivity: 0.01                                 1.02     12.7±0.32ms        ? ?/sec     1.00     12.4±0.27ms        ? ?/sec
filter: primitive, 8192, nulls: 0.1, selectivity: 0.1                                  1.00      4.9±0.24ms        ? ?/sec     1.01      4.9±0.21ms        ? ?/sec
filter: primitive, 8192, nulls: 0.1, selectivity: 0.8                                  1.01      3.2±0.07ms        ? ?/sec     1.00      3.2±0.04ms        ? ?/sec
filter: single_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.001       1.00     19.9±0.04ms        ? ?/sec   
filter: single_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.01        1.00   1962.2±8.15µs        ? ?/sec   
filter: single_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.1         1.00    522.9±1.02µs        ? ?/sec   
filter: single_binaryview (max_string_len=8), 8192, nulls: 0, selectivity: 0.8         1.00    625.5±1.46µs        ? ?/sec   
filter: single_binaryview (max_string_len=8), 8192, nulls: 0.1, selectivity: 0.001     1.00     34.6±0.08ms        ? ?/sec   
filter: single_binaryview (max_string_len=8), 8192, nulls: 0.1, selectivity: 0.01      1.00      3.9±0.05ms        ? ?/sec   
filter: single_binaryview (max_string_len=8), 8192, nulls: 0.1, selectivity: 0.1       1.00  1502.0±13.92µs        ? ?/sec   
filter: single_binaryview (max_string_len=8), 8192, nulls: 0.1, selectivity: 0.8       1.00   1517.8±5.58µs        ? ?/sec   
filter: single_binaryview, 8192, nulls: 0, selectivity: 0.001                          1.00     57.7±0.21ms        ? ?/sec   
filter: single_binaryview, 8192, nulls: 0, selectivity: 0.01                           1.00      6.1±0.02ms        ? ?/sec   
filter: single_binaryview, 8192, nulls: 0, selectivity: 0.1                            1.00      2.1±0.00ms        ? ?/sec   
filter: single_binaryview, 8192, nulls: 0, selectivity: 0.8                            1.00   947.4±15.41µs        ? ?/sec   
filter: single_binaryview, 8192, nulls: 0.1, selectivity: 0.001                        1.00     76.7±0.25ms        ? ?/sec   
filter: single_binaryview, 8192, nulls: 0.1, selectivity: 0.01                         1.00      8.5±0.08ms        ? ?/sec   
filter: single_binaryview, 8192, nulls: 0.1, selectivity: 0.1                          1.00      3.0±0.02ms        ? ?/sec   
filter: single_binaryview, 8192, nulls: 0.1, selectivity: 0.8                          1.00  1855.1±24.07µs        ? ?/sec   
filter: single_utf8view, 8192, nulls: 0, selectivity: 0.001                            1.07     56.7±0.18ms        ? ?/sec     1.00     53.0±0.17ms        ? ?/sec
filter: single_utf8view, 8192, nulls: 0, selectivity: 0.01                             1.05      6.1±0.03ms        ? ?/sec     1.00      5.8±0.01ms        ? ?/sec
filter: single_utf8view, 8192, nulls: 0, selectivity: 0.1                              1.00      2.1±0.00ms        ? ?/sec     1.01      2.1±0.00ms        ? ?/sec
filter: single_utf8view, 8192, nulls: 0, selectivity: 0.8                              1.00   947.5±15.07µs        ? ?/sec     1.00    946.6±0.90µs        ? ?/sec
filter: single_utf8view, 8192, nulls: 0.1, selectivity: 0.001                          1.04     72.0±0.18ms        ? ?/sec     1.00     69.5±0.20ms        ? ?/sec
filter: single_utf8view, 8192, nulls: 0.1, selectivity: 0.01                           1.02      8.5±0.08ms        ? ?/sec     1.00      8.3±0.04ms        ? ?/sec
filter: single_utf8view, 8192, nulls: 0.1, selectivity: 0.1                            1.01      3.0±0.02ms        ? ?/sec     1.00      3.0±0.02ms        ? ?/sec
filter: single_utf8view, 8192, nulls: 0.1, selectivity: 0.8                            1.00  1853.7±23.36µs        ? ?/sec     1.00   1847.7±8.06µs        ? ?/sec

Resource Usage

base (merge-base)

Metric Value
Wall time 542.9s
Peak memory 2.1 GiB
Avg memory 2.1 GiB
CPU user 516.2s
CPU sys 26.5s
Peak spill 0 B

branch

Metric Value
Wall time 967.9s
Peak memory 2.1 GiB
Avg memory 2.1 GiB
CPU user 948.0s
CPU sys 19.8s
Peak spill 0 B

File an issue against this benchmark runner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[coalesce] Implement specialized BatchCoalescer::push_batch_with_filter for binaryview array

4 participants