Skip to content

IN LIST: treat signed zeros as equal - #25186

Open
geoffreyclaude wants to merge 1 commit into
apache:mainfrom
geoffreyclaude:codex/in-list-signed-zero
Open

geoffreyclaude wants to merge 1 commit into
apache:mainfrom
geoffreyclaude:codex/in-list-signed-zero

Conversation

@geoffreyclaude

@geoffreyclaude geoffreyclaude commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

None

Rationale for this change

DataFusion equality treats +0.0 and -0.0 as equal, but the optimized IN filters compare or hash floating-point bit patterns. Because the two zeros have different encodings, an IN predicate could therefore return a different result depending on whether the optimizer retained it or rewrote it into equality comparisons.

This PR makes top-level Float16, Float32, and Float64 IN predicates follow the same signed-zero equality as ordinary comparisons. Static filters materialize both zero encodings once while building the list, keeping lookup on the row path branch-free. Non-static lists normalize evaluated floating operands once per batch. Distinct NaN payloads remain distinct, preserving the existing bit-equality behavior for NaNs.

What changes are included in this PR?

  • Adds both signed-zero encodings to branchless floating filters when either zero occurs in the static list.
  • Applies the same rule to the Float16 bitmap and Float32 / Float64 hash-set filters.
  • Extends the shared zero normalizer to dictionary-wrapped floating arrays and scalar values for non-static lists and equality rewrites.
  • Preserves null behavior, dictionary inputs, IN, and NOT IN.

Are these changes tested?

The SQL logic tests cover both signed-zero directions for Float16, Float32, and Float64; comparison-rewritten, static-filter, and non-static-list paths; dictionary-encoded Float64; and both IN and NOT IN. The added cases fail on the parent commit and pass with this fix.

Focused validation:

  • cargo test -p datafusion-common normalize_float_zero
  • cargo test -p datafusion-physical-expr in_list (88 tests)
  • cargo test -p datafusion-sqllogictest --test sqllogictests -- negative_zero

Are there any user-facing changes?

Yes. Floating-point IN and NOT IN now treat +0.0 and -0.0 as equal, consistently with ordinary DataFusion equality. There are no public API changes.

@github-actions github-actions Bot added physical-expr Changes to the physical-expr crates sqllogictest SQL Logic Tests (.slt) common Related to common crate labels Sep 11, 2026
@geoffreyclaude
geoffreyclaude force-pushed the codex/in-list-signed-zero branch 5 times, most recently from 12098fc to 474474f Compare September 11, 2026 13:58
@codecov-commenter

codecov-commenter commented Sep 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.51351% with 34 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.91%. Comparing base (7b00b63) to head (8713a66).

Files with missing lines Patch % Lines
...atafusion/physical-expr/src/expressions/in_list.rs 80.90% 4 Missing and 17 partials ⚠️
datafusion/common/src/utils/mod.rs 90.54% 6 Missing and 1 partial ⚠️
...l-expr/src/expressions/in_list/primitive_filter.rs 94.73% 0 Missing and 4 partials ⚠️
...-expr/src/expressions/in_list/branchless_filter.rs 94.44% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main   #25186    +/-   ##
========================================
  Coverage   81.91%   81.91%            
========================================
  Files        1134     1134            
  Lines      425637   425900   +263     
  Branches   425637   425900   +263     
========================================
+ Hits       348654   348881   +227     
- Misses      56302    56316    +14     
- Partials    20681    20703    +22     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@geoffreyclaude
geoffreyclaude force-pushed the codex/in-list-signed-zero branch 2 times, most recently from e0f44e0 to aa5a037 Compare September 11, 2026 14:36
let normalized: Float32Array =
arr.unary(|v| if v.to_bits() << 1 == 0 { 0.0_f32 } else { v });
let normalized: Float32Array = arr.unary(|v| {
if v.to_bits() == NEG_ZERO_F32_BITS {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Only NEG_ZERO_F32_BITS needs a change, so compare directly against it

let normalized: Float64Array =
arr.unary(|v| if v.to_bits() << 1 == 0 { 0.0_f64 } else { v });
let normalized: Float64Array = arr.unary(|v| {
if v.to_bits() == NEG_ZERO_F64_BITS {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Only NEG_ZERO_F64_BITS needs a change, so compare directly against it

@geoffreyclaude
geoffreyclaude force-pushed the codex/in-list-signed-zero branch from aa5a037 to eaee11e Compare September 11, 2026 15:02
@geoffreyclaude
geoffreyclaude marked this pull request as ready for review September 14, 2026 11:39
@geoffreyclaude
geoffreyclaude force-pushed the codex/in-list-signed-zero branch from eaee11e to 8713a66 Compare September 14, 2026 11:40
@geoffreyclaude

Copy link
Copy Markdown
Contributor Author

run benchmark in_list_strategy

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c5663371304-2348-b2dgc 6.12.94+ #1 SMP Tue Aug 4 08:44:15 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 codex/in-list-signed-zero (8713a66) to 7b00b63 (merge-base) diff

Run configuration
run benchmark in_list_strategy

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing codex/in-list-signed-zero (8713a66) to 7b00b63 (merge-base) diff

Run configuration
run benchmark in_list_strategy
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                                                                HEAD                                   codex_in-list-signed-zero
-----                                                                ----                                   -------------------------
dictionary/i32/dict=10/list=16                                       1.00      7.6±0.01µs        ? ?/sec    1.00      7.6±0.01µs        ? ?/sec
dictionary/i32/dict=100/list=16                                      1.00      7.7±0.01µs        ? ?/sec    1.01      7.7±0.01µs        ? ?/sec
dictionary/i32/dict=100/list=16/NOT_IN                               1.00      7.7±0.02µs        ? ?/sec    1.00      7.8±0.01µs        ? ?/sec
dictionary/i32/dict=100/list=4                                       1.00      7.6±0.01µs        ? ?/sec    1.00      7.6±0.01µs        ? ?/sec
dictionary/i32/dict=100/list=64                                      1.00      7.7±0.01µs        ? ?/sec    1.00      7.7±0.01µs        ? ?/sec
dictionary/i32/dict=1000/list=16                                     1.00      8.6±0.01µs        ? ?/sec    1.01      8.7±0.01µs        ? ?/sec
dictionary/utf8_long/dict=100/list=16                                1.00      8.3±0.03µs        ? ?/sec    1.00      8.3±0.01µs        ? ?/sec
dictionary/utf8_short/dict=50/list=32                                1.00      8.0±0.01µs        ? ?/sec    1.00      8.1±0.01µs        ? ?/sec
dictionary/utf8_short/dict=50/list=8                                 1.00      7.9±0.01µs        ? ?/sec    1.00      7.9±0.01µs        ? ?/sec
dictionary/utf8_short/dict=500/list=20                               1.00      9.6±0.01µs        ? ?/sec    1.00      9.6±0.01µs        ? ?/sec
dictionary_dispatch/i32/branchless/dictionary/list=4/batch=1         1.00    333.6±2.29ns        ? ?/sec    1.02    339.5±2.59ns        ? ?/sec
dictionary_dispatch/i32/branchless/dictionary/list=4/batch=64        1.00    389.5±3.02ns        ? ?/sec    1.00    390.0±3.01ns        ? ?/sec
dictionary_dispatch/i32/branchless/dictionary/list=4/batch=8         1.00    338.6±2.16ns        ? ?/sec    1.02    347.0±3.22ns        ? ?/sec
dictionary_dispatch/i32/branchless/dictionary/list=4/batch=8192      1.00      7.6±0.02µs        ? ?/sec    1.00      7.6±0.01µs        ? ?/sec
dictionary_dispatch/i32/branchless/plain/list=4/batch=1              1.00    157.3±0.81ns        ? ?/sec    1.01    159.2±3.10ns        ? ?/sec
dictionary_dispatch/i32/branchless/plain/list=4/batch=64             1.00    173.1±0.83ns        ? ?/sec    1.00    173.6±1.92ns        ? ?/sec
dictionary_dispatch/i32/branchless/plain/list=4/batch=8              1.00    159.4±0.92ns        ? ?/sec    1.01    161.8±3.03ns        ? ?/sec
dictionary_dispatch/i32/branchless/plain/list=4/batch=8192           1.00      3.4±0.01µs        ? ?/sec    1.00      3.4±0.00µs        ? ?/sec
dictionary_dispatch/i32/hash_set/dictionary/list=64/batch=1          1.00    282.2±2.90ns        ? ?/sec    1.02    287.2±2.43ns        ? ?/sec
dictionary_dispatch/i32/hash_set/dictionary/list=64/batch=64         1.00    336.3±2.27ns        ? ?/sec    1.04    350.2±8.15ns        ? ?/sec
dictionary_dispatch/i32/hash_set/dictionary/list=64/batch=8          1.00    290.6±3.12ns        ? ?/sec    1.03    299.2±2.09ns        ? ?/sec
dictionary_dispatch/i32/hash_set/dictionary/list=64/batch=8192       1.00      7.5±0.01µs        ? ?/sec    1.00      7.6±0.01µs        ? ?/sec
dictionary_dispatch/i32/hash_set/plain/list=64/batch=1               1.00    121.0±1.61ns        ? ?/sec    1.01    121.8±1.04ns        ? ?/sec
dictionary_dispatch/i32/hash_set/plain/list=64/batch=64              1.00    228.4±1.04ns        ? ?/sec    1.01    231.0±0.63ns        ? ?/sec
dictionary_dispatch/i32/hash_set/plain/list=64/batch=8               1.00    131.7±0.74ns        ? ?/sec    1.01    133.2±0.93ns        ? ?/sec
dictionary_dispatch/i32/hash_set/plain/list=64/batch=8192            1.01     14.6±0.01µs        ? ?/sec    1.00     14.5±0.02µs        ? ?/sec
f32/large_list/list=64/match=0%                                      1.00     15.2±0.04µs        ? ?/sec    1.00     15.3±0.02µs        ? ?/sec
f32/large_list/list=64/match=50%                                     1.00     22.4±0.33µs        ? ?/sec    1.18     26.4±0.20µs        ? ?/sec
f32/small_list/list=32/match=0%                                      1.00     16.4±0.01µs        ? ?/sec    1.00     16.4±0.02µs        ? ?/sec
f32/small_list/list=32/match=50%                                     1.00     16.4±0.01µs        ? ?/sec    1.00     16.4±0.01µs        ? ?/sec
f32/small_list/list=4/match=0%                                       1.00      3.4±0.00µs        ? ?/sec    1.00      3.4±0.00µs        ? ?/sec
f32/small_list/list=4/match=50%                                      1.00      3.4±0.00µs        ? ?/sec    1.01      3.4±0.01µs        ? ?/sec
fixed_size_binary/fsb1/list=16/match=0%                              1.00      4.7±0.00µs        ? ?/sec    1.00      4.7±0.01µs        ? ?/sec
fixed_size_binary/fsb1/list=16/match=50%                             1.00      4.7±0.00µs        ? ?/sec    1.00      4.7±0.01µs        ? ?/sec
fixed_size_binary/fsb16/list=10000/match=0%                          1.00     14.4±0.04µs        ? ?/sec    1.01     14.5±0.03µs        ? ?/sec
fixed_size_binary/fsb16/list=10000/match=50%                         1.01     18.9±0.25µs        ? ?/sec    1.00     18.7±0.12µs        ? ?/sec
fixed_size_binary/fsb16/list=256/match=0%                            1.03     13.5±0.01µs        ? ?/sec    1.00     13.0±0.01µs        ? ?/sec
fixed_size_binary/fsb16/list=256/match=50%                           1.07     22.9±0.28µs        ? ?/sec    1.00     21.4±0.26µs        ? ?/sec
fixed_size_binary/fsb16/list=4/match=0%                              1.00     11.6±0.01µs        ? ?/sec    1.01     11.6±0.05µs        ? ?/sec
fixed_size_binary/fsb16/list=4/match=50%                             1.00     11.6±0.01µs        ? ?/sec    1.00     11.6±0.01µs        ? ?/sec
fixed_size_binary/fsb16/list=64/match=0%                             1.00     12.9±0.02µs        ? ?/sec    1.00     13.0±0.02µs        ? ?/sec
fixed_size_binary/fsb16/list=64/match=0%/input=unaligned             1.02     15.1±0.02µs        ? ?/sec    1.00     14.8±0.03µs        ? ?/sec
fixed_size_binary/fsb16/list=64/match=50%                            1.04     23.0±0.33µs        ? ?/sec    1.00     22.2±0.25µs        ? ?/sec
fixed_size_binary/fsb16/list=64/match=50%/input=unaligned            1.00     24.2±0.35µs        ? ?/sec    1.12     27.1±0.93µs        ? ?/sec
fixed_size_binary/fsb2/list=64/match=0%                              1.00      5.3±0.00µs        ? ?/sec    1.00      5.3±0.01µs        ? ?/sec
fixed_size_binary/fsb2/list=64/match=50%                             1.00      5.3±0.00µs        ? ?/sec    1.00      5.3±0.01µs        ? ?/sec
interval_month_day_nano/small_list/list=4/match=0%                   1.00     14.5±0.01µs        ? ?/sec    1.00     14.6±0.01µs        ? ?/sec
interval_month_day_nano/small_list/list=4/match=50%                  1.00     20.8±0.07µs        ? ?/sec    1.02     21.2±0.07µs        ? ?/sec
narrow_integer/f16/list=256/match=0%                                 1.00      5.2±0.00µs        ? ?/sec    1.01      5.2±0.00µs        ? ?/sec
narrow_integer/f16/list=256/match=50%                                1.00      5.2±0.00µs        ? ?/sec    1.00      5.2±0.01µs        ? ?/sec
narrow_integer/f16/list=4/match=0%                                   1.00      3.6±0.01µs        ? ?/sec    1.00      3.6±0.00µs        ? ?/sec
narrow_integer/f16/list=4/match=50%                                  1.00      3.6±0.00µs        ? ?/sec    1.00      3.6±0.00µs        ? ?/sec
narrow_integer/f16/list=64/match=0%                                  1.00      5.2±0.02µs        ? ?/sec    1.00      5.2±0.00µs        ? ?/sec
narrow_integer/f16/list=64/match=50%                                 1.00      5.2±0.00µs        ? ?/sec    1.00      5.2±0.00µs        ? ?/sec
narrow_integer/i16/list=256/match=0%                                 1.00      5.2±0.00µs        ? ?/sec    1.00      5.2±0.00µs        ? ?/sec
narrow_integer/i16/list=256/match=50%                                1.00      5.2±0.00µs        ? ?/sec    1.00      5.2±0.00µs        ? ?/sec
narrow_integer/i16/list=4/match=0%                                   1.00      3.6±0.00µs        ? ?/sec    1.00      3.6±0.00µs        ? ?/sec
narrow_integer/i16/list=4/match=50%                                  1.00      3.5±0.00µs        ? ?/sec    1.00      3.6±0.00µs        ? ?/sec
narrow_integer/i16/list=64/match=0%                                  1.00      5.2±0.01µs        ? ?/sec    1.00      5.2±0.01µs        ? ?/sec
narrow_integer/i16/list=64/match=50%                                 1.00      5.2±0.00µs        ? ?/sec    1.00      5.2±0.00µs        ? ?/sec
narrow_integer/u8/list=16/match=0%                                   1.00      4.6±0.00µs        ? ?/sec    1.00      4.6±0.00µs        ? ?/sec
narrow_integer/u8/list=16/match=50%                                  1.00      4.6±0.00µs        ? ?/sec    1.00      4.6±0.00µs        ? ?/sec
narrow_integer/u8/list=4/match=0%                                    1.00      3.2±0.00µs        ? ?/sec    1.00      3.2±0.00µs        ? ?/sec
narrow_integer/u8/list=4/match=50%                                   1.00      3.2±0.00µs        ? ?/sec    1.00      3.2±0.01µs        ? ?/sec
nulls/narrow_integer/u8/list=16/match=50%/nulls=20%                  1.00      4.6±0.01µs        ? ?/sec    1.00      4.6±0.01µs        ? ?/sec
nulls/primitive/i32/large_list/list=64/match=50%/nulls=20%           1.00     15.3±0.25µs        ? ?/sec    1.52     23.3±0.13µs        ? ?/sec
nulls/primitive/i32/small_list/list=16/match=50%/nulls=20%           1.00      9.0±0.01µs        ? ?/sec    1.00      9.0±0.01µs        ? ?/sec
nulls/primitive/i32/small_list/list=16/match=50%/nulls=20%/NOT_IN    1.00      9.1±0.02µs        ? ?/sec    1.00      9.1±0.00µs        ? ?/sec
nulls/primitive/i32/small_list/list=16/match=50%/nulls=50%           1.00      9.0±0.00µs        ? ?/sec    1.00      9.0±0.01µs        ? ?/sec
nulls/utf8/long_24b/list=16/match=50%/nulls=20%                      1.00     72.2±0.20µs        ? ?/sec    1.01     73.1±0.25µs        ? ?/sec
nulls/utf8/short_8b/list=16/match=50%/nulls=20%                      1.00     60.1±0.68µs        ? ?/sec    1.04     62.5±0.40µs        ? ?/sec
nulls/utf8view/long_24b/list=16/match=50%/nulls=20%                  1.11     87.4±0.21µs        ? ?/sec    1.00     78.8±0.43µs        ? ?/sec
nulls/utf8view/short_8b/list=16/match=50%/nulls=20%                  1.01     24.4±0.20µs        ? ?/sec    1.00     24.1±0.12µs        ? ?/sec
nulls/utf8view/short_8b/list=16/match=50%/nulls=20%/NOT_IN           1.00     18.1±0.18µs        ? ?/sec    1.33     24.2±0.13µs        ? ?/sec
nulls/utf8view/short_8b/list=16/match=50%/nulls=50%                  1.00     16.8±0.08µs        ? ?/sec    1.09     18.2±0.07µs        ? ?/sec
primitive/decimal128/large_list/list=5/match=0%                      1.01     13.0±0.02µs        ? ?/sec    1.00     12.9±0.02µs        ? ?/sec
primitive/decimal128/large_list/list=5/match=50%                     1.00     23.3±0.21µs        ? ?/sec    1.03     24.0±0.29µs        ? ?/sec
primitive/decimal128/large_list/list=64/match=0%                     1.00     12.8±0.01µs        ? ?/sec    1.02     13.1±0.03µs        ? ?/sec
primitive/decimal128/large_list/list=64/match=50%                    1.03     22.7±0.30µs        ? ?/sec    1.00     22.1±0.38µs        ? ?/sec
primitive/i32/large_list/list=256/match=0%                           1.01     12.6±0.04µs        ? ?/sec    1.00     12.6±0.06µs        ? ?/sec
primitive/i32/large_list/list=256/match=50%                          1.00     17.9±1.04µs        ? ?/sec    1.27     22.7±0.27µs        ? ?/sec
primitive/i32/large_list/list=64/match=0%                            1.06     12.9±0.04µs        ? ?/sec    1.00     12.2±0.01µs        ? ?/sec
primitive/i32/large_list/list=64/match=50%                           1.00     19.5±0.23µs        ? ?/sec    1.17     22.8±0.42µs        ? ?/sec
primitive/i32/small_list/list=16/match=50%/NOT_IN                    1.00      9.0±0.01µs        ? ?/sec    1.00      9.0±0.01µs        ? ?/sec
primitive/i32/small_list/list=32/match=0%                            1.00     16.4±0.01µs        ? ?/sec    1.00     16.4±0.01µs        ? ?/sec
primitive/i32/small_list/list=32/match=50%                           1.00     16.4±0.01µs        ? ?/sec    1.00     16.4±0.01µs        ? ?/sec
primitive/i32/small_list/list=4/match=0%                             1.00      3.4±0.00µs        ? ?/sec    1.00      3.4±0.00µs        ? ?/sec
primitive/i32/small_list/list=4/match=50%                            1.00      3.4±0.00µs        ? ?/sec    1.00      3.4±0.01µs        ? ?/sec
primitive/i64/large_list/list=128/match=0%                           1.04     12.4±0.08µs        ? ?/sec    1.00     12.0±0.01µs        ? ?/sec
primitive/i64/large_list/list=128/match=50%                          1.15     22.8±0.25µs        ? ?/sec    1.00     19.8±0.13µs        ? ?/sec
primitive/i64/large_list/list=32/match=0%                            1.05     12.5±0.07µs        ? ?/sec    1.00     12.0±0.04µs        ? ?/sec
primitive/i64/large_list/list=32/match=50%                           1.60     28.2±0.34µs        ? ?/sec    1.00     17.7±0.16µs        ? ?/sec
primitive/i64/small_list/list=16/match=0%                            1.00     16.3±0.03µs        ? ?/sec    1.00     16.2±0.02µs        ? ?/sec
primitive/i64/small_list/list=16/match=50%                           1.01     16.3±0.02µs        ? ?/sec    1.00     16.1±0.04µs        ? ?/sec
primitive/i64/small_list/list=4/match=0%                             1.00      4.3±0.01µs        ? ?/sec    1.00      4.3±0.00µs        ? ?/sec
primitive/i64/small_list/list=4/match=50%                            1.00      4.3±0.01µs        ? ?/sec    1.00      4.3±0.01µs        ? ?/sec
timestamp_ns/large_list/list=32/match=0%                             1.01     17.7±0.04µs        ? ?/sec    1.00     17.5±0.05µs        ? ?/sec
timestamp_ns/large_list/list=32/match=50%                            1.15     34.6±0.67µs        ? ?/sec    1.00     30.0±0.16µs        ? ?/sec
timestamp_ns/small_list/list=16/match=0%                             1.01     16.2±0.02µs        ? ?/sec    1.00     16.0±0.15µs        ? ?/sec
timestamp_ns/small_list/list=16/match=50%                            1.00     16.2±0.08µs        ? ?/sec    1.00     16.2±0.01µs        ? ?/sec
timestamp_ns/small_list/list=4/match=0%                              1.00      4.3±0.00µs        ? ?/sec    1.00      4.3±0.01µs        ? ?/sec
timestamp_ns/small_list/list=4/match=50%                             1.00      4.2±0.00µs        ? ?/sec    1.00      4.2±0.00µs        ? ?/sec
utf8/long_24b/list=256/match=0%                                      1.00     35.1±0.09µs        ? ?/sec    1.00     35.1±0.07µs        ? ?/sec
utf8/long_24b/list=256/match=50%                                     1.01     71.3±0.61µs        ? ?/sec    1.00     70.9±0.59µs        ? ?/sec
utf8/long_24b/list=4/match=0%                                        1.01     35.2±0.04µs        ? ?/sec    1.00     34.9±0.06µs        ? ?/sec
utf8/long_24b/list=4/match=50%                                       1.02     74.3±0.43µs        ? ?/sec    1.00     72.6±0.35µs        ? ?/sec
utf8/long_24b/list=64/match=0%                                       1.01     35.0±0.04µs        ? ?/sec    1.00     34.6±0.07µs        ? ?/sec
utf8/long_24b/list=64/match=50%                                      1.00     71.9±0.31µs        ? ?/sec    1.01     72.4±0.21µs        ? ?/sec
utf8/mixed_len/list=16/match=0%                                      1.07     37.6±0.11µs        ? ?/sec    1.00     35.3±0.12µs        ? ?/sec
utf8/mixed_len/list=16/match=50%                                     1.08    106.2±0.44µs        ? ?/sec    1.00     98.5±0.59µs        ? ?/sec
utf8/mixed_len/list=64/match=0%                                      1.02     38.9±0.08µs        ? ?/sec    1.00     38.0±0.07µs        ? ?/sec
utf8/mixed_len/list=64/match=50%                                     1.13    116.7±0.50µs        ? ?/sec    1.00    102.9±0.56µs        ? ?/sec
utf8/shared_prefix/pfx=12/list=32/match=50%                          1.00     71.6±0.32µs        ? ?/sec    1.00     71.6±0.66µs        ? ?/sec
utf8/short_8b/list=16/match=50%/NOT_IN                               1.00     64.7±0.25µs        ? ?/sec    1.00     64.7±0.28µs        ? ?/sec
utf8/short_8b/list=256/match=0%                                      1.02     27.3±0.13µs        ? ?/sec    1.00     26.8±0.04µs        ? ?/sec
utf8/short_8b/list=256/match=50%                                     1.00     64.6±0.31µs        ? ?/sec    1.00     64.5±0.80µs        ? ?/sec
utf8/short_8b/list=4/match=0%                                        1.01     27.2±0.05µs        ? ?/sec    1.00     26.8±0.04µs        ? ?/sec
utf8/short_8b/list=4/match=50%                                       1.00     65.3±0.71µs        ? ?/sec    1.00     65.5±0.38µs        ? ?/sec
utf8/short_8b/list=64/match=0%                                       1.01     27.1±0.03µs        ? ?/sec    1.00     26.8±0.04µs        ? ?/sec
utf8/short_8b/list=64/match=50%                                      1.00     63.1±0.49µs        ? ?/sec    1.00     62.8±0.48µs        ? ?/sec
utf8view/len_12b/list=16/match=0%                                    1.00     12.9±0.01µs        ? ?/sec    1.02     13.1±0.06µs        ? ?/sec
utf8view/len_12b/list=16/match=50%                                   1.00     25.0±0.49µs        ? ?/sec    1.02     25.5±0.30µs        ? ?/sec
utf8view/len_12b/list=64/match=0%                                    1.01     13.1±0.02µs        ? ?/sec    1.00     12.9±0.01µs        ? ?/sec
utf8view/len_12b/list=64/match=50%                                   1.13     20.5±0.38µs        ? ?/sec    1.00     18.2±0.22µs        ? ?/sec
utf8view/long_24b/list=16/match=0%                                   1.00     40.9±0.07µs        ? ?/sec    1.00     40.8±0.04µs        ? ?/sec
utf8view/long_24b/list=16/match=50%                                  1.00     86.2±0.25µs        ? ?/sec    1.00     86.5±0.24µs        ? ?/sec
utf8view/long_24b/list=256/match=0%                                  1.00     40.5±0.08µs        ? ?/sec    1.02     41.2±0.13µs        ? ?/sec
utf8view/long_24b/list=256/match=50%                                 1.01     87.3±0.36µs        ? ?/sec    1.00     86.6±0.24µs        ? ?/sec
utf8view/long_24b/list=4/match=0%                                    1.00     40.9±0.04µs        ? ?/sec    1.00     40.7±0.06µs        ? ?/sec
utf8view/long_24b/list=4/match=50%                                   1.01     86.6±0.47µs        ? ?/sec    1.00     85.9±0.16µs        ? ?/sec
utf8view/long_24b/list=64/match=0%                                   1.00     40.6±0.05µs        ? ?/sec    1.02     41.4±0.28µs        ? ?/sec
utf8view/long_24b/list=64/match=50%                                  1.00     85.4±0.62µs        ? ?/sec    1.00     85.5±0.33µs        ? ?/sec
utf8view/mixed_len/list=16/match=0%                                  1.00     28.5±0.07µs        ? ?/sec    1.17     33.3±0.07µs        ? ?/sec
utf8view/mixed_len/list=16/match=50%                                 1.00     69.8±0.37µs        ? ?/sec    1.18     82.6±0.46µs        ? ?/sec
utf8view/mixed_len/list=64/match=0%                                  1.00     28.5±0.04µs        ? ?/sec    1.15     32.8±0.09µs        ? ?/sec
utf8view/mixed_len/list=64/match=50%                                 1.00     84.2±0.64µs        ? ?/sec    1.08     91.3±0.74µs        ? ?/sec
utf8view/shared_prefix/pfx=12/list=32/match=0%                       1.00     42.8±0.06µs        ? ?/sec    1.00     42.7±0.07µs        ? ?/sec
utf8view/shared_prefix/pfx=12/list=32/match=50%                      1.00     87.6±0.28µs        ? ?/sec    1.00     87.8±0.27µs        ? ?/sec
utf8view/shared_prefix/pfx=16/list=64/match=0%                       1.00     40.8±0.18µs        ? ?/sec    1.00     40.7±0.12µs        ? ?/sec
utf8view/shared_prefix/pfx=16/list=64/match=50%                      1.00     84.8±0.40µs        ? ?/sec    1.01     85.3±0.24µs        ? ?/sec
utf8view/shared_prefix/pfx=8/list=16/match=0%                        1.00     29.9±0.07µs        ? ?/sec    1.01     30.1±0.19µs        ? ?/sec
utf8view/shared_prefix/pfx=8/list=16/match=50%                       1.01     74.3±0.48µs        ? ?/sec    1.00     73.8±0.18µs        ? ?/sec
utf8view/short_8b/list=16/match=0%                                   1.00     13.0±0.01µs        ? ?/sec    1.03     13.3±0.02µs        ? ?/sec
utf8view/short_8b/list=16/match=50%                                  1.33     24.3±0.38µs        ? ?/sec    1.00     18.3±0.27µs        ? ?/sec
utf8view/short_8b/list=256/match=0%                                  1.01     13.0±0.04µs        ? ?/sec    1.00     12.9±0.03µs        ? ?/sec
utf8view/short_8b/list=256/match=50%                                 1.00     19.2±0.26µs        ? ?/sec    1.17     22.4±0.19µs        ? ?/sec
utf8view/short_8b/list=4/match=0%                                    1.01     11.6±0.01µs        ? ?/sec    1.00     11.5±0.01µs        ? ?/sec
utf8view/short_8b/list=4/match=50%                                   1.00     11.5±0.03µs        ? ?/sec    1.00     11.5±0.01µs        ? ?/sec
utf8view/short_8b/list=64/match=0%                                   1.00     12.8±0.01µs        ? ?/sec    1.01     12.9±0.02µs        ? ?/sec
utf8view/short_8b/list=64/match=50%                                  1.00     18.4±0.14µs        ? ?/sec    1.24     22.9±0.34µs        ? ?/sec

Resource Usage

in_list_strategy — base (merge-base)

Metric Value
Wall time 1770.4s
Peak memory 41.7 MiB
Avg memory 28.4 MiB
CPU user 1828.5s
CPU sys 1.6s
Peak spill 0 B

in_list_strategy — branch

Metric Value
Wall time 1670.4s
Peak memory 43.4 MiB
Avg memory 31.8 MiB
CPU user 1824.5s
CPU sys 1.9s
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

common Related to common crate physical-expr Changes to the physical-expr crates sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants