Skip to content

Support arithmetic expressions in PruningPredicate for Parquet row gr…#21647

Open
SubhamSinghal wants to merge 7 commits intoapache:mainfrom
SubhamSinghal:arithmetic-expr-pruning
Open

Support arithmetic expressions in PruningPredicate for Parquet row gr…#21647
SubhamSinghal wants to merge 7 commits intoapache:mainfrom
SubhamSinghal:arithmetic-expr-pruning

Conversation

@SubhamSinghal
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

  • Closes #.

Rationale for this change '

PruningPredicate currently cannot prune Parquet row groups for predicates with arithmetic expressions like col + 5 > 10 or date_col + INTERVAL '30 days' > '2024-01-01'. The rewrite_expr_to_prunable function only handles plain columns, CAST, TRY_CAST, negation, and NOT — arithmetic BinaryExpr falls through to "can't prune", meaning every row group is scanned.
This is especially impactful for date/timestamp arithmetic in WHERE clauses (
WHERE order_date + INTERVAL '30 days' > CURRENT_DATE), which is very common in analytics queries on Parquet tables.

What changes are included in this PR?

Added support for arithmetic expressions (+, -) in rewrite_expr_to_prunable. The approach is "evaluate on min/max" — the arithmetic expression is passed through as the column_expr, and the existing rewrite_column_expr machinery substitutes colcol_max/col_min inside the arithmetic, producing predicates like (col_max + 5) > 10.

Are these changes tested?

Yes, with UT

Are there any user-facing changes?

No

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Apr 15, 2026
@Dandandan
Copy link
Copy Markdown
Contributor

run benchmarks

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4254368162-1306-jt8g8 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 arithmetic-expr-pruning (51d5173) to f99ba69 (merge-base) diff using: clickbench_partitioned
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4254368162-1308-t7l7f 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 arithmetic-expr-pruning (51d5173) to f99ba69 (merge-base) diff using: tpch
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4254368162-1307-kxh8q 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 arithmetic-expr-pruning (51d5173) to f99ba69 (merge-base) diff using: tpcds
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)

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

Comparing HEAD and arithmetic-expr-pruning
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃               arithmetic-expr-pruning ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │          1.20 / 4.41 ±6.34 / 17.10 ms │          1.18 / 4.38 ±6.31 / 16.99 ms │     no change │
│ QQuery 1  │        14.22 / 14.70 ±0.26 / 15.02 ms │        14.74 / 15.11 ±0.26 / 15.54 ms │     no change │
│ QQuery 2  │        43.73 / 44.12 ±0.35 / 44.76 ms │        43.45 / 43.59 ±0.11 / 43.78 ms │     no change │
│ QQuery 3  │        42.42 / 44.64 ±1.36 / 46.06 ms │        41.17 / 44.20 ±2.73 / 48.72 ms │     no change │
│ QQuery 4  │     286.87 / 293.43 ±6.59 / 306.09 ms │    287.83 / 302.18 ±18.22 / 332.30 ms │     no change │
│ QQuery 5  │     335.99 / 340.21 ±2.35 / 342.46 ms │     343.95 / 351.67 ±8.38 / 365.48 ms │     no change │
│ QQuery 6  │           5.80 / 6.17 ±0.43 / 7.00 ms │           6.00 / 6.97 ±0.65 / 8.01 ms │  1.13x slower │
│ QQuery 7  │        16.69 / 18.15 ±1.82 / 21.65 ms │        16.72 / 17.93 ±0.89 / 18.80 ms │     no change │
│ QQuery 8  │     416.82 / 423.54 ±3.74 / 426.95 ms │     417.80 / 426.89 ±7.69 / 440.94 ms │     no change │
│ QQuery 9  │     634.20 / 644.70 ±7.52 / 657.73 ms │     641.08 / 649.49 ±6.58 / 661.12 ms │     no change │
│ QQuery 10 │        90.88 / 92.64 ±2.06 / 96.59 ms │        91.54 / 93.61 ±1.50 / 95.62 ms │     no change │
│ QQuery 11 │     103.70 / 104.66 ±1.09 / 106.60 ms │     102.90 / 104.82 ±1.05 / 105.91 ms │     no change │
│ QQuery 12 │     333.14 / 339.07 ±3.87 / 343.44 ms │     341.66 / 344.89 ±3.46 / 351.30 ms │     no change │
│ QQuery 13 │     465.97 / 472.24 ±5.01 / 480.78 ms │     463.72 / 473.63 ±9.08 / 484.77 ms │     no change │
│ QQuery 14 │     336.43 / 341.71 ±3.08 / 345.65 ms │     347.73 / 352.77 ±4.69 / 359.26 ms │     no change │
│ QQuery 15 │    346.14 / 357.28 ±11.46 / 374.39 ms │     353.24 / 363.25 ±9.81 / 378.25 ms │     no change │
│ QQuery 16 │    720.14 / 751.57 ±24.62 / 792.29 ms │    724.13 / 764.09 ±28.96 / 807.17 ms │     no change │
│ QQuery 17 │    702.83 / 721.99 ±17.66 / 751.24 ms │    728.20 / 757.81 ±16.28 / 772.53 ms │     no change │
│ QQuery 18 │ 1399.66 / 1461.82 ±34.35 / 1495.73 ms │ 1438.16 / 1477.79 ±43.49 / 1557.54 ms │     no change │
│ QQuery 19 │        34.64 / 36.41 ±1.61 / 38.51 ms │       35.43 / 41.00 ±10.31 / 61.62 ms │  1.13x slower │
│ QQuery 20 │    716.07 / 736.00 ±22.04 / 772.33 ms │    709.95 / 727.89 ±19.15 / 765.08 ms │     no change │
│ QQuery 21 │    762.09 / 771.82 ±13.76 / 799.00 ms │     752.45 / 759.46 ±4.28 / 764.26 ms │     no change │
│ QQuery 22 │  1127.15 / 1139.51 ±7.94 / 1147.61 ms │  1122.03 / 1126.10 ±2.56 / 1129.22 ms │     no change │
│ QQuery 23 │ 3078.46 / 3095.04 ±12.02 / 3115.57 ms │ 3086.51 / 3106.16 ±12.41 / 3124.19 ms │     no change │
│ QQuery 24 │     101.60 / 104.14 ±2.73 / 108.47 ms │      98.94 / 104.15 ±3.05 / 107.92 ms │     no change │
│ QQuery 25 │     139.76 / 142.20 ±2.04 / 144.44 ms │     137.35 / 139.52 ±1.19 / 140.81 ms │     no change │
│ QQuery 26 │      98.55 / 102.50 ±2.26 / 105.44 ms │      99.64 / 102.15 ±1.53 / 103.83 ms │     no change │
│ QQuery 27 │     846.49 / 852.22 ±3.47 / 857.02 ms │     846.39 / 854.49 ±9.28 / 868.49 ms │     no change │
│ QQuery 28 │ 3246.83 / 3274.34 ±20.04 / 3299.20 ms │ 3260.33 / 3285.96 ±17.64 / 3312.40 ms │     no change │
│ QQuery 29 │      50.88 / 81.47 ±47.39 / 175.66 ms │        50.26 / 56.92 ±6.19 / 67.93 ms │ +1.43x faster │
│ QQuery 30 │     354.59 / 359.81 ±4.28 / 367.31 ms │     361.54 / 367.92 ±3.82 / 372.88 ms │     no change │
│ QQuery 31 │    366.08 / 388.40 ±17.60 / 408.40 ms │    371.06 / 384.29 ±13.15 / 406.83 ms │     no change │
│ QQuery 32 │ 1272.80 / 1322.19 ±40.74 / 1381.75 ms │ 1035.33 / 1079.41 ±36.48 / 1139.70 ms │ +1.22x faster │
│ QQuery 33 │ 1437.40 / 1492.22 ±60.56 / 1602.16 ms │  1460.40 / 1473.54 ±9.35 / 1486.19 ms │     no change │
│ QQuery 34 │ 1428.88 / 1457.39 ±27.21 / 1492.53 ms │ 1470.53 / 1501.29 ±19.10 / 1529.03 ms │     no change │
│ QQuery 35 │     381.76 / 386.29 ±3.21 / 391.00 ms │     391.31 / 396.36 ±4.46 / 401.86 ms │     no change │
│ QQuery 36 │     120.44 / 121.49 ±0.56 / 122.03 ms │     119.02 / 124.23 ±4.58 / 132.33 ms │     no change │
│ QQuery 37 │        47.46 / 49.49 ±1.53 / 51.07 ms │        49.19 / 51.13 ±1.13 / 52.33 ms │     no change │
│ QQuery 38 │        75.95 / 76.47 ±0.63 / 77.61 ms │        77.73 / 78.70 ±0.57 / 79.37 ms │     no change │
│ QQuery 39 │     206.98 / 216.70 ±5.72 / 223.35 ms │     205.63 / 214.78 ±7.55 / 228.69 ms │     no change │
│ QQuery 40 │        22.29 / 25.26 ±2.22 / 27.93 ms │        22.41 / 25.86 ±2.23 / 29.21 ms │     no change │
│ QQuery 41 │        20.59 / 22.07 ±1.22 / 24.15 ms │        20.73 / 22.25 ±1.91 / 25.87 ms │     no change │
│ QQuery 42 │        19.34 / 20.06 ±0.62 / 20.81 ms │        19.22 / 20.31 ±0.78 / 21.08 ms │     no change │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                      ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                      │ 22750.56ms │
│ Total Time (arithmetic-expr-pruning)   │ 22638.96ms │
│ Average Time (HEAD)                    │   529.08ms │
│ Average Time (arithmetic-expr-pruning) │   526.49ms │
│ Queries Faster                         │          2 │
│ Queries Slower                         │          2 │
│ Queries with No Change                 │         39 │
│ Queries with Failure                   │          0 │
└────────────────────────────────────────┴────────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 114.9s
Peak memory 41.8 GiB
Avg memory 29.6 GiB
CPU user 1071.2s
CPU sys 96.7s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 114.2s
Peak memory 37.8 GiB
Avg memory 27.9 GiB
CPU user 1075.7s
CPU sys 91.0s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 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

Comparing HEAD and arithmetic-expr-pruning
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                     HEAD ┃                  arithmetic-expr-pruning ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │              6.80 / 7.20 ±0.70 / 8.60 ms │              6.95 / 7.42 ±0.75 / 8.92 ms │     no change │
│ QQuery 2  │        145.30 / 146.17 ±0.69 / 147.40 ms │        145.30 / 146.80 ±1.18 / 148.74 ms │     no change │
│ QQuery 3  │        113.85 / 114.15 ±0.24 / 114.57 ms │        113.65 / 114.78 ±0.68 / 115.60 ms │     no change │
│ QQuery 4  │    1400.79 / 1426.79 ±19.45 / 1453.39 ms │    1393.98 / 1418.25 ±25.22 / 1464.79 ms │     no change │
│ QQuery 5  │        173.67 / 175.00 ±1.40 / 177.71 ms │        170.94 / 174.06 ±1.73 / 176.00 ms │     no change │
│ QQuery 6  │       845.30 / 868.62 ±15.94 / 890.84 ms │       867.41 / 889.13 ±18.96 / 916.63 ms │     no change │
│ QQuery 7  │        345.44 / 348.25 ±3.26 / 354.55 ms │        342.01 / 345.22 ±2.23 / 348.49 ms │     no change │
│ QQuery 8  │        118.38 / 118.92 ±0.51 / 119.77 ms │        117.26 / 119.75 ±2.01 / 122.29 ms │     no change │
│ QQuery 9  │        101.56 / 106.02 ±3.13 / 109.49 ms │        101.86 / 105.54 ±2.53 / 108.17 ms │     no change │
│ QQuery 10 │        106.35 / 109.24 ±2.57 / 113.80 ms │        106.01 / 108.77 ±1.51 / 110.48 ms │     no change │
│ QQuery 11 │     993.09 / 1013.62 ±14.53 / 1030.22 ms │     980.66 / 1000.06 ±17.75 / 1031.47 ms │     no change │
│ QQuery 12 │           45.77 / 47.64 ±1.32 / 49.74 ms │           46.15 / 47.09 ±0.86 / 48.12 ms │     no change │
│ QQuery 13 │        405.65 / 407.69 ±2.02 / 411.38 ms │        404.42 / 407.66 ±3.75 / 414.91 ms │     no change │
│ QQuery 14 │     1012.10 / 1018.45 ±7.24 / 1027.35 ms │     990.59 / 1012.36 ±13.89 / 1030.26 ms │     no change │
│ QQuery 15 │           15.89 / 17.64 ±1.80 / 21.08 ms │           16.90 / 17.71 ±0.81 / 18.89 ms │     no change │
│ QQuery 16 │              7.56 / 7.98 ±0.27 / 8.36 ms │              7.65 / 7.99 ±0.23 / 8.27 ms │     no change │
│ QQuery 17 │        230.47 / 234.89 ±3.04 / 239.05 ms │        230.93 / 234.25 ±2.34 / 238.26 ms │     no change │
│ QQuery 18 │        129.23 / 130.19 ±0.85 / 131.60 ms │        128.12 / 129.13 ±0.74 / 129.98 ms │     no change │
│ QQuery 19 │        156.55 / 158.50 ±1.25 / 160.15 ms │        156.62 / 158.48 ±1.70 / 161.66 ms │     no change │
│ QQuery 20 │           14.58 / 15.02 ±0.35 / 15.55 ms │           13.52 / 14.73 ±0.62 / 15.21 ms │     no change │
│ QQuery 21 │           19.89 / 20.28 ±0.33 / 20.70 ms │           20.15 / 20.58 ±0.35 / 20.99 ms │     no change │
│ QQuery 22 │        493.86 / 500.29 ±4.75 / 507.09 ms │        493.42 / 497.47 ±6.40 / 510.19 ms │     no change │
│ QQuery 23 │       882.84 / 902.43 ±11.99 / 916.92 ms │        892.64 / 900.68 ±5.47 / 907.06 ms │     no change │
│ QQuery 24 │        390.80 / 396.12 ±5.20 / 406.08 ms │        388.86 / 390.81 ±1.04 / 391.92 ms │     no change │
│ QQuery 25 │        345.79 / 348.34 ±1.55 / 350.36 ms │        344.09 / 346.95 ±1.62 / 348.78 ms │     no change │
│ QQuery 26 │           83.55 / 84.55 ±0.94 / 86.24 ms │           80.18 / 82.96 ±1.57 / 84.77 ms │     no change │
│ QQuery 27 │              7.07 / 7.44 ±0.27 / 7.85 ms │              7.11 / 7.74 ±0.58 / 8.49 ms │     no change │
│ QQuery 28 │        150.94 / 151.38 ±0.47 / 152.26 ms │        149.49 / 151.13 ±1.09 / 152.58 ms │     no change │
│ QQuery 29 │        285.28 / 288.06 ±2.57 / 292.21 ms │        283.90 / 286.28 ±2.40 / 290.39 ms │     no change │
│ QQuery 30 │           46.23 / 46.99 ±0.53 / 47.51 ms │           43.36 / 45.79 ±1.66 / 48.22 ms │     no change │
│ QQuery 31 │        172.39 / 174.43 ±1.58 / 176.05 ms │        171.25 / 173.31 ±1.41 / 175.46 ms │     no change │
│ QQuery 32 │           57.20 / 58.26 ±1.51 / 61.20 ms │           57.18 / 58.55 ±0.93 / 60.00 ms │     no change │
│ QQuery 33 │        141.30 / 144.28 ±1.65 / 145.91 ms │        141.90 / 143.04 ±1.19 / 145.25 ms │     no change │
│ QQuery 34 │              7.17 / 7.69 ±0.72 / 9.10 ms │              7.10 / 7.79 ±0.55 / 8.75 ms │     no change │
│ QQuery 35 │        108.63 / 110.37 ±1.28 / 112.51 ms │        108.39 / 109.74 ±1.17 / 111.86 ms │     no change │
│ QQuery 36 │              7.01 / 7.39 ±0.51 / 8.40 ms │              6.71 / 6.93 ±0.20 / 7.18 ms │ +1.07x faster │
│ QQuery 37 │             8.90 / 9.46 ±0.84 / 11.11 ms │             8.49 / 9.10 ±0.66 / 10.33 ms │     no change │
│ QQuery 38 │           84.85 / 90.11 ±4.15 / 97.43 ms │           86.05 / 89.70 ±3.16 / 95.23 ms │     no change │
│ QQuery 39 │        126.55 / 131.14 ±2.31 / 132.56 ms │        129.87 / 131.35 ±1.08 / 132.88 ms │     no change │
│ QQuery 40 │        110.25 / 117.66 ±5.46 / 126.73 ms │        111.42 / 118.59 ±8.18 / 134.48 ms │     no change │
│ QQuery 41 │           14.73 / 15.16 ±0.65 / 16.43 ms │           15.37 / 16.14 ±0.74 / 17.31 ms │  1.07x slower │
│ QQuery 42 │        106.96 / 109.76 ±2.05 / 112.47 ms │        106.98 / 109.16 ±1.80 / 112.17 ms │     no change │
│ QQuery 43 │              6.12 / 6.54 ±0.32 / 7.00 ms │              6.32 / 6.51 ±0.20 / 6.89 ms │     no change │
│ QQuery 44 │           12.05 / 12.72 ±0.62 / 13.85 ms │           12.47 / 12.77 ±0.42 / 13.55 ms │     no change │
│ QQuery 45 │           51.39 / 52.32 ±0.58 / 53.04 ms │           51.15 / 52.76 ±1.16 / 54.23 ms │     no change │
│ QQuery 46 │              8.68 / 9.12 ±0.41 / 9.75 ms │              8.84 / 9.27 ±0.24 / 9.51 ms │     no change │
│ QQuery 47 │        756.99 / 762.27 ±4.13 / 768.02 ms │        754.15 / 759.65 ±4.31 / 765.39 ms │     no change │
│ QQuery 48 │        294.02 / 297.61 ±2.68 / 302.01 ms │        291.20 / 295.30 ±3.58 / 299.54 ms │     no change │
│ QQuery 49 │        254.53 / 256.51 ±1.22 / 258.09 ms │        251.67 / 254.54 ±2.29 / 257.89 ms │     no change │
│ QQuery 50 │        228.14 / 232.85 ±2.85 / 236.12 ms │        227.80 / 232.13 ±2.90 / 236.53 ms │     no change │
│ QQuery 51 │        178.80 / 183.70 ±3.48 / 189.55 ms │        181.79 / 184.33 ±1.88 / 187.27 ms │     no change │
│ QQuery 52 │        107.98 / 109.08 ±0.88 / 110.56 ms │        107.47 / 110.11 ±1.61 / 112.49 ms │     no change │
│ QQuery 53 │        103.19 / 103.75 ±0.42 / 104.26 ms │        103.18 / 105.03 ±1.72 / 108.04 ms │     no change │
│ QQuery 54 │        146.54 / 148.73 ±2.15 / 152.80 ms │        146.96 / 148.76 ±2.23 / 152.15 ms │     no change │
│ QQuery 55 │        107.28 / 109.50 ±1.14 / 110.52 ms │        107.41 / 108.91 ±1.18 / 110.63 ms │     no change │
│ QQuery 56 │        140.64 / 142.86 ±1.84 / 145.37 ms │        141.43 / 143.80 ±1.66 / 146.32 ms │     no change │
│ QQuery 57 │        178.28 / 179.68 ±1.26 / 181.75 ms │        175.18 / 177.02 ±1.01 / 178.08 ms │     no change │
│ QQuery 58 │       288.81 / 306.29 ±11.14 / 320.54 ms │        291.40 / 300.02 ±5.70 / 308.81 ms │     no change │
│ QQuery 59 │        200.43 / 202.26 ±1.19 / 203.79 ms │        201.12 / 202.30 ±0.82 / 203.18 ms │     no change │
│ QQuery 60 │        146.03 / 146.99 ±1.07 / 148.91 ms │        144.94 / 146.08 ±1.21 / 148.16 ms │     no change │
│ QQuery 61 │           13.44 / 13.78 ±0.23 / 14.15 ms │           13.07 / 13.39 ±0.28 / 13.85 ms │     no change │
│ QQuery 62 │      915.29 / 965.96 ±34.58 / 1018.42 ms │      933.13 / 961.74 ±25.66 / 1000.71 ms │     no change │
│ QQuery 63 │        103.55 / 105.76 ±1.61 / 108.46 ms │        103.99 / 107.31 ±2.30 / 110.13 ms │     no change │
│ QQuery 64 │        693.66 / 700.86 ±5.64 / 708.74 ms │        689.08 / 698.52 ±5.41 / 703.81 ms │     no change │
│ QQuery 65 │        258.33 / 264.16 ±3.95 / 270.55 ms │        259.27 / 261.21 ±1.78 / 263.82 ms │     no change │
│ QQuery 66 │       240.04 / 261.80 ±11.94 / 275.32 ms │       239.33 / 260.21 ±15.14 / 276.41 ms │     no change │
│ QQuery 67 │        316.24 / 321.75 ±5.84 / 333.06 ms │       304.17 / 322.22 ±11.32 / 335.84 ms │     no change │
│ QQuery 68 │            9.32 / 10.34 ±1.40 / 13.08 ms │            8.75 / 11.55 ±2.43 / 16.09 ms │  1.12x slower │
│ QQuery 69 │        102.00 / 107.07 ±5.75 / 117.62 ms │        103.18 / 105.26 ±1.57 / 107.74 ms │     no change │
│ QQuery 70 │       340.27 / 353.44 ±12.13 / 376.21 ms │       341.33 / 350.92 ±11.50 / 372.91 ms │     no change │
│ QQuery 71 │        134.47 / 137.54 ±2.32 / 141.55 ms │        136.18 / 137.76 ±1.27 / 138.92 ms │     no change │
│ QQuery 72 │        633.38 / 640.96 ±6.82 / 651.94 ms │        630.39 / 638.78 ±6.33 / 647.38 ms │     no change │
│ QQuery 73 │              7.25 / 7.80 ±0.58 / 8.85 ms │              6.82 / 8.05 ±1.07 / 9.95 ms │     no change │
│ QQuery 74 │        628.83 / 642.37 ±8.57 / 651.74 ms │        627.49 / 633.32 ±4.23 / 639.93 ms │     no change │
│ QQuery 75 │        278.49 / 282.45 ±2.26 / 285.04 ms │        278.25 / 279.84 ±0.88 / 280.94 ms │     no change │
│ QQuery 76 │        133.71 / 135.10 ±1.04 / 136.43 ms │        132.78 / 134.59 ±1.39 / 136.19 ms │     no change │
│ QQuery 77 │        189.05 / 189.85 ±1.05 / 191.78 ms │        189.80 / 191.87 ±1.86 / 194.91 ms │     no change │
│ QQuery 78 │        345.42 / 352.66 ±5.15 / 360.57 ms │        345.01 / 349.45 ±4.05 / 354.64 ms │     no change │
│ QQuery 79 │        237.55 / 242.63 ±4.38 / 247.94 ms │        243.22 / 244.69 ±1.23 / 246.76 ms │     no change │
│ QQuery 80 │        327.71 / 329.83 ±1.72 / 332.04 ms │        321.56 / 326.15 ±3.28 / 329.43 ms │     no change │
│ QQuery 81 │           27.29 / 28.59 ±1.35 / 30.32 ms │           26.79 / 27.95 ±1.08 / 30.01 ms │     no change │
│ QQuery 82 │        200.98 / 202.17 ±1.22 / 204.47 ms │        200.96 / 204.34 ±2.20 / 207.18 ms │     no change │
│ QQuery 83 │           39.80 / 40.56 ±0.54 / 41.34 ms │           39.67 / 40.71 ±0.97 / 42.33 ms │     no change │
│ QQuery 84 │           49.05 / 50.79 ±1.52 / 52.89 ms │           49.08 / 49.58 ±0.34 / 50.01 ms │     no change │
│ QQuery 85 │        149.48 / 151.39 ±1.61 / 154.23 ms │        148.32 / 149.34 ±1.07 / 151.14 ms │     no change │
│ QQuery 86 │           40.32 / 40.99 ±0.41 / 41.41 ms │           39.74 / 41.17 ±1.14 / 43.24 ms │     no change │
│ QQuery 87 │           88.17 / 90.61 ±2.13 / 93.17 ms │           86.74 / 90.15 ±3.59 / 96.41 ms │     no change │
│ QQuery 88 │        100.91 / 102.34 ±1.29 / 104.32 ms │        101.19 / 102.17 ±1.04 / 103.52 ms │     no change │
│ QQuery 89 │        118.00 / 119.87 ±1.67 / 121.89 ms │        120.14 / 120.91 ±0.56 / 121.54 ms │     no change │
│ QQuery 90 │           24.49 / 24.68 ±0.14 / 24.86 ms │           23.37 / 24.11 ±0.53 / 24.88 ms │     no change │
│ QQuery 91 │           64.90 / 65.35 ±0.33 / 65.74 ms │           67.52 / 68.56 ±1.08 / 70.63 ms │     no change │
│ QQuery 92 │           57.87 / 58.76 ±0.69 / 59.81 ms │           60.32 / 61.76 ±0.98 / 63.34 ms │  1.05x slower │
│ QQuery 93 │        192.31 / 193.21 ±1.46 / 196.11 ms │        188.03 / 191.70 ±3.42 / 197.78 ms │     no change │
│ QQuery 94 │           62.17 / 63.22 ±0.77 / 64.14 ms │           62.08 / 62.81 ±0.82 / 64.33 ms │     no change │
│ QQuery 95 │        130.17 / 133.21 ±1.79 / 135.06 ms │        129.00 / 131.52 ±1.65 / 133.77 ms │     no change │
│ QQuery 96 │           72.80 / 75.28 ±1.36 / 76.94 ms │           74.56 / 75.35 ±0.67 / 76.59 ms │     no change │
│ QQuery 97 │        124.72 / 127.36 ±2.34 / 130.33 ms │        127.15 / 130.22 ±1.66 / 131.83 ms │     no change │
│ QQuery 98 │        157.21 / 158.99 ±1.25 / 160.88 ms │        154.48 / 156.93 ±1.77 / 159.25 ms │     no change │
│ QQuery 99 │ 10844.88 / 10884.17 ±23.34 / 10905.59 ms │ 10853.04 / 10901.83 ±38.96 / 10971.96 ms │     no change │
└───────────┴──────────────────────────────────────────┴──────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                      ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                      │ 32133.96ms │
│ Total Time (arithmetic-expr-pruning)   │ 32080.21ms │
│ Average Time (HEAD)                    │   324.59ms │
│ Average Time (arithmetic-expr-pruning) │   324.04ms │
│ Queries Faster                         │          1 │
│ Queries Slower                         │          3 │
│ Queries with No Change                 │         95 │
│ Queries with Failure                   │          0 │
└────────────────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 161.0s
Peak memory 5.4 GiB
Avg memory 4.5 GiB
CPU user 266.2s
CPU sys 17.3s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 160.7s
Peak memory 5.7 GiB
Avg memory 4.6 GiB
CPU user 265.9s
CPU sys 17.0s
Peak spill 0 B

File an issue against this benchmark runner

@github-actions github-actions bot added the core Core DataFusion crate label Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants