Skip to content

Simplify != '' pruning predicate#21026

Closed
Dandandan wants to merge 1 commit intoapache:mainfrom
Dandandan:simplify_pruning_pred
Closed

Simplify != '' pruning predicate#21026
Dandandan wants to merge 1 commit intoapache:mainfrom
Dandandan:simplify_pruning_pred

Conversation

@Dandandan
Copy link
Contributor

Which issue does this PR close?

  • Closes #.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@Dandandan
Copy link
Contributor Author

run benchmarks

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Mar 18, 2026
@adriangbot
Copy link

🤖 Benchmark running (GKE) | trigger
Linux bench-c4082114714-412-ggskk 6.12.55+ #1 SMP Sun Feb 1 08:59:41 UTC 2026 aarch64 GNU/Linux
Comparing simplify_pruning_pred (f562ef3) to cf0a182 (merge-base) diff using: clickbench_partitioned
Results will be posted here when complete

@adriangbot
Copy link

🤖 Benchmark running (GKE) | trigger
Linux bench-c4082114714-414-2tkn2 6.12.55+ #1 SMP Sun Feb 1 08:59:41 UTC 2026 aarch64 GNU/Linux
Comparing simplify_pruning_pred (f562ef3) to cf0a182 (merge-base) diff using: tpch
Results will be posted here when complete

@adriangbot
Copy link

🤖 Benchmark running (GKE) | trigger
Linux bench-c4082114714-413-4qj6f 6.12.55+ #1 SMP Sun Feb 1 08:59:41 UTC 2026 aarch64 GNU/Linux
Comparing simplify_pruning_pred (f562ef3) to cf0a182 (merge-base) diff using: tpcds
Results will be posted here when complete

@adriangbot
Copy link

🤖 Benchmark completed (GKE) | trigger

Details

Comparing HEAD and simplify_pruning_pred
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃          simplify_pruning_pred ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 46.03 / 47.49 ±1.11 / 49.22 ms │ 45.75 / 46.75 ±1.05 / 48.18 ms │     no change │
│ QQuery 2  │ 25.19 / 25.65 ±0.57 / 26.70 ms │ 24.73 / 25.25 ±0.66 / 26.53 ms │     no change │
│ QQuery 3  │ 33.67 / 33.96 ±0.30 / 34.46 ms │ 33.51 / 34.05 ±0.65 / 35.26 ms │     no change │
│ QQuery 4  │ 22.36 / 23.37 ±0.94 / 25.06 ms │ 21.09 / 22.94 ±0.93 / 23.70 ms │     no change │
│ QQuery 5  │ 49.82 / 50.96 ±1.16 / 53.18 ms │ 49.91 / 51.85 ±1.15 / 53.17 ms │     no change │
│ QQuery 6  │ 18.01 / 19.03 ±0.76 / 19.96 ms │ 17.63 / 17.80 ±0.18 / 18.10 ms │ +1.07x faster │
│ QQuery 7  │ 55.70 / 58.62 ±1.87 / 61.20 ms │ 56.65 / 57.44 ±0.64 / 58.36 ms │     no change │
│ QQuery 8  │ 50.76 / 52.13 ±1.34 / 54.67 ms │ 50.65 / 51.25 ±0.36 / 51.76 ms │     no change │
│ QQuery 9  │ 56.04 / 58.18 ±1.29 / 59.79 ms │ 56.05 / 56.60 ±0.41 / 57.28 ms │     no change │
│ QQuery 10 │ 74.42 / 75.58 ±1.24 / 77.47 ms │ 72.69 / 73.64 ±0.81 / 75.13 ms │     no change │
│ QQuery 11 │ 17.14 / 17.69 ±0.69 / 19.05 ms │ 16.52 / 16.88 ±0.19 / 17.09 ms │     no change │
│ QQuery 12 │ 28.59 / 29.14 ±0.47 / 30.02 ms │ 28.66 / 29.31 ±0.90 / 31.09 ms │     no change │
│ QQuery 13 │ 38.75 / 40.50 ±0.88 / 41.09 ms │ 38.88 / 40.23 ±1.19 / 42.43 ms │     no change │
│ QQuery 14 │ 29.50 / 29.92 ±0.42 / 30.63 ms │ 28.81 / 29.29 ±0.42 / 30.06 ms │     no change │
│ QQuery 15 │ 36.37 / 36.97 ±0.38 / 37.56 ms │ 35.94 / 36.82 ±0.95 / 38.62 ms │     no change │
│ QQuery 16 │ 17.72 / 18.13 ±0.60 / 19.32 ms │ 17.41 / 17.65 ±0.22 / 17.99 ms │     no change │
│ QQuery 17 │ 74.81 / 75.22 ±0.33 / 75.68 ms │ 74.09 / 75.22 ±1.32 / 77.76 ms │     no change │
│ QQuery 18 │ 80.25 / 82.90 ±1.63 / 84.67 ms │ 78.89 / 80.14 ±1.24 / 82.52 ms │     no change │
│ QQuery 19 │ 39.16 / 39.89 ±1.02 / 41.87 ms │ 38.44 / 39.11 ±0.85 / 40.76 ms │     no change │
│ QQuery 20 │ 42.77 / 44.18 ±1.21 / 46.42 ms │ 42.89 / 43.60 ±0.76 / 45.01 ms │     no change │
│ QQuery 21 │ 68.17 / 69.07 ±0.84 / 70.28 ms │ 66.72 / 69.28 ±1.48 / 71.03 ms │     no change │
│ QQuery 22 │ 20.12 / 20.92 ±0.53 / 21.56 ms │ 20.04 / 20.22 ±0.13 / 20.42 ms │     no change │
└───────────┴────────────────────────────────┴────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                    ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                    │ 949.50ms │
│ Total Time (simplify_pruning_pred)   │ 935.32ms │
│ Average Time (HEAD)                  │  43.16ms │
│ Average Time (simplify_pruning_pred) │  42.51ms │
│ Queries Faster                       │        1 │
│ Queries Slower                       │        0 │
│ Queries with No Change               │       21 │
│ Queries with Failure                 │        0 │
└──────────────────────────────────────┴──────────┘

Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 4.0 GiB
Avg memory 3.6 GiB
CPU user 33.4s
CPU sys 3.2s
Disk read 0 B
Disk write 148.0 KiB

tpch — branch

Metric Value
Wall time 4.9s
Peak memory 4.1 GiB
Avg memory 3.6 GiB
CPU user 33.3s
CPU sys 3.0s
Disk read 0 B
Disk write 56.0 KiB

@adriangbot
Copy link

🤖 Benchmark completed (GKE) | trigger

Details

Comparing HEAD and simplify_pruning_pred
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃                                     HEAD ┃                    simplify_pruning_pred ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1  │           47.49 / 48.28 ±0.65 / 49.23 ms │           48.96 / 49.48 ±0.61 / 50.62 ms │    no change │
│ QQuery 2  │        151.92 / 153.32 ±0.74 / 154.05 ms │        152.57 / 154.29 ±0.94 / 155.27 ms │    no change │
│ QQuery 3  │        116.55 / 117.18 ±0.41 / 117.55 ms │        118.11 / 118.33 ±0.28 / 118.87 ms │    no change │
│ QQuery 4  │    1401.99 / 1424.74 ±14.55 / 1440.69 ms │    1368.75 / 1390.69 ±19.05 / 1423.65 ms │    no change │
│ QQuery 5  │        182.46 / 184.55 ±2.05 / 188.28 ms │        184.36 / 186.09 ±1.79 / 189.48 ms │    no change │
│ QQuery 6  │    1023.80 / 1045.46 ±24.24 / 1090.47 ms │    1020.65 / 1056.48 ±31.79 / 1108.30 ms │    no change │
│ QQuery 7  │        355.17 / 362.26 ±5.11 / 367.53 ms │        358.23 / 362.25 ±2.11 / 364.41 ms │    no change │
│ QQuery 8  │        121.11 / 121.49 ±0.37 / 122.17 ms │        120.03 / 121.71 ±1.41 / 124.30 ms │    no change │
│ QQuery 9  │        114.20 / 119.10 ±2.51 / 121.22 ms │        119.36 / 123.36 ±4.12 / 131.26 ms │    no change │
│ QQuery 10 │        113.18 / 114.86 ±0.99 / 115.84 ms │        113.55 / 115.07 ±0.80 / 115.81 ms │    no change │
│ QQuery 11 │     996.85 / 1014.83 ±11.33 / 1031.34 ms │      938.39 / 970.57 ±20.63 / 1000.44 ms │    no change │
│ QQuery 12 │           47.20 / 49.22 ±1.25 / 50.60 ms │           46.62 / 49.30 ±2.86 / 54.84 ms │    no change │
│ QQuery 13 │        417.89 / 420.01 ±1.78 / 423.06 ms │        410.22 / 413.75 ±2.73 / 416.83 ms │    no change │
│ QQuery 14 │     1066.06 / 1075.36 ±7.79 / 1084.91 ms │     1078.69 / 1090.51 ±7.99 / 1100.26 ms │    no change │
│ QQuery 15 │           18.35 / 20.05 ±1.26 / 22.01 ms │           19.26 / 20.80 ±1.35 / 22.88 ms │    no change │
│ QQuery 16 │           45.44 / 46.70 ±0.89 / 47.90 ms │           45.94 / 46.84 ±0.84 / 47.94 ms │    no change │
│ QQuery 17 │        245.22 / 249.13 ±3.77 / 255.78 ms │        244.59 / 247.72 ±2.14 / 250.54 ms │    no change │
│ QQuery 18 │        135.56 / 136.54 ±0.81 / 137.63 ms │        134.94 / 135.25 ±0.32 / 135.74 ms │    no change │
│ QQuery 19 │        160.42 / 162.97 ±1.66 / 164.83 ms │        161.22 / 161.93 ±0.49 / 162.68 ms │    no change │
│ QQuery 20 │           16.63 / 17.13 ±0.40 / 17.86 ms │           16.37 / 17.07 ±0.66 / 18.17 ms │    no change │
│ QQuery 21 │           24.14 / 24.97 ±0.67 / 26.10 ms │           23.48 / 24.47 ±0.57 / 25.16 ms │    no change │
│ QQuery 22 │        496.02 / 499.22 ±2.78 / 502.75 ms │        491.70 / 495.94 ±4.71 / 505.09 ms │    no change │
│ QQuery 23 │       953.83 / 968.06 ±10.00 / 984.28 ms │       951.88 / 963.66 ±12.19 / 984.85 ms │    no change │
│ QQuery 24 │        430.66 / 435.49 ±3.88 / 442.13 ms │        432.62 / 436.23 ±2.10 / 439.07 ms │    no change │
│ QQuery 25 │        367.54 / 370.56 ±2.96 / 375.50 ms │        363.80 / 368.31 ±3.11 / 371.52 ms │    no change │
│ QQuery 26 │           86.21 / 90.28 ±2.63 / 93.56 ms │           86.28 / 88.07 ±1.32 / 90.19 ms │    no change │
│ QQuery 27 │        356.86 / 359.04 ±1.31 / 360.42 ms │        351.47 / 355.75 ±3.31 / 360.52 ms │    no change │
│ QQuery 28 │        156.61 / 158.61 ±2.09 / 162.32 ms │        156.56 / 157.92 ±1.31 / 160.01 ms │    no change │
│ QQuery 29 │        302.42 / 308.65 ±4.05 / 314.33 ms │        302.34 / 306.39 ±2.42 / 309.57 ms │    no change │
│ QQuery 30 │           51.05 / 52.03 ±1.02 / 53.93 ms │           49.12 / 50.10 ±0.89 / 51.71 ms │    no change │
│ QQuery 31 │        181.00 / 182.33 ±1.18 / 184.39 ms │        179.55 / 182.89 ±2.62 / 186.18 ms │    no change │
│ QQuery 32 │           62.06 / 62.72 ±0.58 / 63.74 ms │           61.47 / 62.78 ±0.92 / 63.80 ms │    no change │
│ QQuery 33 │        150.89 / 151.61 ±0.75 / 153.07 ms │        150.93 / 152.58 ±1.52 / 154.74 ms │    no change │
│ QQuery 34 │        110.24 / 110.88 ±0.41 / 111.27 ms │        108.49 / 109.48 ±0.83 / 110.83 ms │    no change │
│ QQuery 35 │        113.01 / 115.07 ±1.40 / 117.42 ms │        114.04 / 116.11 ±1.57 / 118.77 ms │    no change │
│ QQuery 36 │        221.96 / 226.64 ±2.53 / 229.30 ms │        218.95 / 224.42 ±4.45 / 231.85 ms │    no change │
│ QQuery 37 │        180.86 / 183.07 ±2.17 / 186.52 ms │        182.98 / 184.13 ±1.19 / 186.42 ms │    no change │
│ QQuery 38 │           90.18 / 94.89 ±3.25 / 99.23 ms │           92.98 / 94.72 ±1.74 / 97.80 ms │    no change │
│ QQuery 39 │        134.21 / 137.55 ±3.33 / 141.96 ms │        138.10 / 141.62 ±3.25 / 147.69 ms │    no change │
│ QQuery 40 │        117.07 / 120.36 ±5.55 / 131.42 ms │        112.69 / 121.13 ±8.44 / 134.37 ms │    no change │
│ QQuery 41 │           18.87 / 19.29 ±0.38 / 19.95 ms │           18.15 / 18.86 ±0.56 / 19.49 ms │    no change │
│ QQuery 42 │        109.41 / 111.29 ±1.58 / 114.08 ms │        111.78 / 112.46 ±0.74 / 113.90 ms │    no change │
│ QQuery 43 │           85.21 / 85.90 ±0.66 / 86.92 ms │           86.46 / 87.17 ±0.79 / 88.63 ms │    no change │
│ QQuery 44 │           16.96 / 17.51 ±0.31 / 17.86 ms │           18.02 / 18.54 ±0.41 / 19.06 ms │ 1.06x slower │
│ QQuery 45 │           55.55 / 56.65 ±1.14 / 58.10 ms │           55.76 / 56.76 ±0.99 / 58.64 ms │    no change │
│ QQuery 46 │        235.67 / 237.08 ±0.95 / 238.17 ms │        236.05 / 236.77 ±1.00 / 238.75 ms │    no change │
│ QQuery 47 │       729.28 / 740.97 ±10.22 / 760.01 ms │        729.88 / 738.83 ±6.48 / 747.89 ms │    no change │
│ QQuery 48 │        293.29 / 297.40 ±4.13 / 305.15 ms │        291.63 / 299.43 ±4.39 / 304.77 ms │    no change │
│ QQuery 49 │        262.15 / 265.41 ±3.70 / 272.51 ms │        266.06 / 268.45 ±1.85 / 270.54 ms │    no change │
│ QQuery 50 │        232.10 / 234.59 ±1.93 / 237.51 ms │        231.76 / 236.30 ±3.66 / 240.49 ms │    no change │
│ QQuery 51 │        186.93 / 188.43 ±1.34 / 190.52 ms │        189.65 / 192.11 ±2.00 / 194.95 ms │    no change │
│ QQuery 52 │        109.40 / 110.91 ±1.48 / 112.95 ms │        110.02 / 110.72 ±0.40 / 111.24 ms │    no change │
│ QQuery 53 │        106.16 / 107.20 ±1.00 / 108.99 ms │        106.79 / 108.16 ±0.76 / 109.07 ms │    no change │
│ QQuery 54 │        154.15 / 156.43 ±1.59 / 157.97 ms │        154.74 / 157.19 ±1.60 / 159.42 ms │    no change │
│ QQuery 55 │        108.62 / 110.87 ±1.18 / 112.04 ms │        109.30 / 110.41 ±1.27 / 112.75 ms │    no change │
│ QQuery 56 │        151.09 / 152.48 ±1.97 / 156.39 ms │        150.87 / 152.18 ±0.98 / 153.29 ms │    no change │
│ QQuery 57 │        182.44 / 186.96 ±2.39 / 188.91 ms │        188.29 / 189.30 ±0.68 / 190.13 ms │    no change │
│ QQuery 58 │        295.25 / 304.19 ±6.90 / 310.91 ms │        306.96 / 313.62 ±5.30 / 320.49 ms │    no change │
│ QQuery 59 │        204.92 / 206.73 ±1.42 / 209.09 ms │        204.09 / 205.80 ±1.20 / 207.66 ms │    no change │
│ QQuery 60 │        151.21 / 153.33 ±1.50 / 155.85 ms │        153.82 / 156.40 ±1.65 / 159.03 ms │    no change │
│ QQuery 61 │        178.25 / 180.80 ±1.41 / 182.07 ms │        180.50 / 181.28 ±0.92 / 183.03 ms │    no change │
│ QQuery 62 │      912.15 / 983.37 ±64.15 / 1092.73 ms │       898.71 / 939.86 ±25.78 / 964.98 ms │    no change │
│ QQuery 63 │        108.49 / 109.63 ±1.02 / 111.29 ms │        108.91 / 111.29 ±3.53 / 118.28 ms │    no change │
│ QQuery 64 │        715.06 / 719.38 ±3.23 / 723.68 ms │        711.14 / 719.02 ±5.55 / 723.71 ms │    no change │
│ QQuery 65 │        258.52 / 263.48 ±3.66 / 268.86 ms │        254.65 / 258.49 ±3.19 / 262.28 ms │    no change │
│ QQuery 66 │        256.82 / 265.10 ±6.94 / 272.19 ms │       247.14 / 270.24 ±16.37 / 298.19 ms │    no change │
│ QQuery 67 │        314.40 / 326.84 ±8.41 / 337.41 ms │        308.93 / 320.42 ±6.13 / 325.87 ms │    no change │
│ QQuery 68 │        289.95 / 291.56 ±1.76 / 294.64 ms │        283.44 / 288.40 ±3.49 / 292.50 ms │    no change │
│ QQuery 69 │        108.34 / 109.57 ±0.89 / 110.78 ms │        107.13 / 109.21 ±1.18 / 110.78 ms │    no change │
│ QQuery 70 │       343.97 / 360.56 ±10.61 / 374.80 ms │        338.28 / 350.41 ±7.94 / 360.25 ms │    no change │
│ QQuery 71 │        139.34 / 141.18 ±2.11 / 145.15 ms │        139.46 / 142.54 ±2.14 / 144.55 ms │    no change │
│ QQuery 72 │       724.20 / 742.06 ±12.82 / 758.96 ms │        721.52 / 730.05 ±7.63 / 743.19 ms │    no change │
│ QQuery 73 │        103.29 / 106.52 ±2.19 / 109.32 ms │        105.85 / 107.71 ±0.98 / 108.52 ms │    no change │
│ QQuery 74 │       563.87 / 578.69 ±16.03 / 608.73 ms │       564.82 / 582.95 ±16.96 / 612.20 ms │    no change │
│ QQuery 75 │        289.03 / 292.00 ±1.94 / 294.41 ms │        286.26 / 291.08 ±2.57 / 293.61 ms │    no change │
│ QQuery 76 │        139.25 / 140.94 ±0.89 / 141.89 ms │        137.45 / 139.23 ±1.78 / 142.07 ms │    no change │
│ QQuery 77 │        199.84 / 203.61 ±2.44 / 206.82 ms │        201.16 / 203.14 ±1.87 / 206.09 ms │    no change │
│ QQuery 78 │        355.96 / 362.87 ±5.64 / 373.16 ms │        361.62 / 364.94 ±3.08 / 370.37 ms │    no change │
│ QQuery 79 │        240.80 / 243.70 ±2.77 / 248.51 ms │        235.30 / 238.88 ±2.61 / 243.32 ms │    no change │
│ QQuery 80 │        345.01 / 346.82 ±1.54 / 348.82 ms │        341.79 / 345.27 ±2.75 / 349.05 ms │    no change │
│ QQuery 81 │           32.58 / 34.20 ±1.55 / 37.12 ms │           33.48 / 34.20 ±0.44 / 34.87 ms │    no change │
│ QQuery 82 │        207.68 / 210.79 ±1.91 / 212.45 ms │        205.34 / 208.53 ±2.50 / 211.79 ms │    no change │
│ QQuery 83 │           48.17 / 48.83 ±0.77 / 50.03 ms │           48.61 / 50.41 ±1.76 / 53.60 ms │    no change │
│ QQuery 84 │           51.97 / 52.99 ±0.99 / 54.34 ms │           51.20 / 52.32 ±0.84 / 53.68 ms │    no change │
│ QQuery 85 │        154.98 / 158.69 ±2.95 / 164.04 ms │        152.47 / 155.91 ±2.74 / 159.75 ms │    no change │
│ QQuery 86 │           40.83 / 42.01 ±0.88 / 43.21 ms │           40.81 / 42.13 ±1.10 / 44.12 ms │    no change │
│ QQuery 87 │           89.99 / 93.93 ±4.05 / 99.99 ms │          93.57 / 96.17 ±2.29 / 100.43 ms │    no change │
│ QQuery 88 │        113.28 / 114.22 ±0.80 / 115.20 ms │        112.85 / 114.99 ±1.21 / 116.42 ms │    no change │
│ QQuery 89 │        123.73 / 124.80 ±0.93 / 126.01 ms │        121.09 / 122.86 ±0.96 / 123.66 ms │    no change │
│ QQuery 90 │           29.41 / 29.54 ±0.10 / 29.69 ms │           28.26 / 28.79 ±0.40 / 29.22 ms │    no change │
│ QQuery 91 │           67.84 / 69.02 ±0.71 / 69.97 ms │           68.41 / 68.79 ±0.51 / 69.79 ms │    no change │
│ QQuery 92 │           61.67 / 63.09 ±1.19 / 64.97 ms │           60.41 / 61.60 ±0.93 / 63.20 ms │    no change │
│ QQuery 93 │        194.66 / 197.77 ±2.29 / 201.49 ms │        194.23 / 196.88 ±2.70 / 200.81 ms │    no change │
│ QQuery 94 │           66.01 / 67.08 ±0.86 / 68.56 ms │           65.68 / 66.42 ±0.59 / 67.37 ms │    no change │
│ QQuery 95 │        138.79 / 142.17 ±2.38 / 145.51 ms │        140.45 / 142.57 ±2.05 / 146.13 ms │    no change │
│ QQuery 96 │           74.58 / 78.16 ±2.29 / 81.43 ms │           76.97 / 77.88 ±0.54 / 78.46 ms │    no change │
│ QQuery 97 │        133.28 / 135.41 ±1.78 / 137.81 ms │        134.05 / 135.32 ±1.14 / 136.96 ms │    no change │
│ QQuery 98 │        157.88 / 160.75 ±2.52 / 163.91 ms │        156.35 / 157.42 ±0.61 / 158.08 ms │    no change │
│ QQuery 99 │ 10796.76 / 10823.06 ±20.75 / 10850.68 ms │ 10754.98 / 10779.50 ±23.43 / 10823.18 ms │    no change │
└───────────┴──────────────────────────────────────────┴──────────────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                    ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                    │ 34694.00ms │
│ Total Time (simplify_pruning_pred)   │ 34524.74ms │
│ Average Time (HEAD)                  │   350.44ms │
│ Average Time (simplify_pruning_pred) │   348.73ms │
│ Queries Faster                       │          0 │
│ Queries Slower                       │          1 │
│ Queries with No Change               │         98 │
│ Queries with Failure                 │          0 │
└──────────────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 173.8s
Peak memory 5.4 GiB
Avg memory 4.5 GiB
CPU user 274.3s
CPU sys 21.6s
Disk read 0 B
Disk write 636.1 MiB

tpcds — branch

Metric Value
Wall time 172.9s
Peak memory 5.3 GiB
Avg memory 4.4 GiB
CPU user 271.9s
CPU sys 22.0s
Disk read 0 B
Disk write 148.0 KiB

@adriangbot
Copy link

🤖 Benchmark completed (GKE) | trigger

Details

Comparing HEAD and simplify_pruning_pred
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                   HEAD ┃                 simplify_pruning_pred ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │           1.65 / 5.03 ±6.52 / 18.07 ms │          1.65 / 5.00 ±6.49 / 17.97 ms │     no change │
│ QQuery 1  │         15.69 / 16.17 ±0.29 / 16.43 ms │        14.84 / 15.28 ±0.26 / 15.60 ms │ +1.06x faster │
│ QQuery 2  │         58.74 / 58.93 ±0.15 / 59.17 ms │        56.74 / 57.12 ±0.21 / 57.32 ms │     no change │
│ QQuery 3  │         49.43 / 50.81 ±0.94 / 51.98 ms │        49.37 / 51.76 ±1.53 / 53.43 ms │     no change │
│ QQuery 4  │     303.78 / 318.27 ±12.11 / 336.75 ms │     304.33 / 320.48 ±8.38 / 328.67 ms │     no change │
│ QQuery 5  │      362.72 / 365.46 ±2.70 / 368.98 ms │     360.96 / 365.43 ±6.26 / 377.78 ms │     no change │
│ QQuery 6  │            5.58 / 6.43 ±0.79 / 7.75 ms │           5.22 / 5.97 ±0.79 / 7.51 ms │ +1.08x faster │
│ QQuery 7  │         18.36 / 18.66 ±0.23 / 19.07 ms │        17.99 / 21.31 ±5.15 / 31.46 ms │  1.14x slower │
│ QQuery 8  │     440.26 / 458.59 ±10.96 / 472.15 ms │    445.23 / 463.74 ±15.76 / 481.21 ms │     no change │
│ QQuery 9  │     704.33 / 720.07 ±15.95 / 750.04 ms │     698.11 / 710.28 ±7.13 / 720.26 ms │     no change │
│ QQuery 10 │        96.23 / 98.70 ±3.36 / 105.30 ms │       91.57 / 94.84 ±3.31 / 100.58 ms │     no change │
│ QQuery 11 │      108.36 / 109.31 ±0.79 / 110.43 ms │     105.71 / 107.94 ±1.19 / 109.31 ms │     no change │
│ QQuery 12 │      368.78 / 374.97 ±5.20 / 381.88 ms │     356.63 / 363.16 ±5.69 / 373.71 ms │     no change │
│ QQuery 13 │     469.28 / 495.60 ±16.76 / 513.86 ms │    468.29 / 486.88 ±16.80 / 517.31 ms │     no change │
│ QQuery 14 │      361.67 / 372.43 ±7.47 / 383.03 ms │     370.00 / 375.21 ±3.99 / 381.29 ms │     no change │
│ QQuery 15 │     381.19 / 395.51 ±16.89 / 427.26 ms │    378.83 / 402.00 ±25.82 / 444.97 ms │     no change │
│ QQuery 16 │     757.56 / 778.68 ±26.09 / 829.08 ms │    759.61 / 779.33 ±19.94 / 813.83 ms │     no change │
│ QQuery 17 │      760.16 / 761.81 ±2.24 / 766.15 ms │     748.18 / 754.94 ±3.81 / 759.90 ms │     no change │
│ QQuery 18 │  1480.76 / 1529.80 ±38.07 / 1582.40 ms │ 1415.35 / 1466.74 ±34.06 / 1508.09 ms │     no change │
│ QQuery 19 │         36.58 / 39.99 ±1.99 / 42.70 ms │        36.78 / 38.69 ±1.77 / 40.81 ms │     no change │
│ QQuery 20 │     711.41 / 736.30 ±24.91 / 773.68 ms │     705.95 / 714.08 ±9.12 / 731.17 ms │     no change │
│ QQuery 21 │      761.96 / 769.83 ±7.18 / 780.08 ms │     755.96 / 760.86 ±4.50 / 768.02 ms │     no change │
│ QQuery 22 │   1146.46 / 1153.40 ±7.08 / 1166.84 ms │  1138.97 / 1141.69 ±1.45 / 1143.02 ms │     no change │
│ QQuery 23 │  3289.52 / 3326.43 ±24.91 / 3360.70 ms │ 3240.33 / 3263.05 ±15.80 / 3279.64 ms │     no change │
│ QQuery 24 │      105.64 / 110.44 ±2.75 / 113.40 ms │     102.36 / 105.73 ±2.74 / 110.66 ms │     no change │
│ QQuery 25 │      142.58 / 145.57 ±2.61 / 150.11 ms │     142.62 / 145.21 ±1.44 / 146.64 ms │     no change │
│ QQuery 26 │      107.15 / 108.93 ±1.79 / 112.29 ms │     106.18 / 107.49 ±1.02 / 108.78 ms │     no change │
│ QQuery 27 │      847.20 / 857.27 ±7.33 / 867.18 ms │     848.86 / 853.27 ±5.07 / 862.74 ms │     no change │
│ QQuery 28 │  7772.17 / 7822.22 ±29.44 / 7863.74 ms │ 7795.41 / 7874.40 ±56.24 / 7950.36 ms │     no change │
│ QQuery 29 │         57.55 / 61.50 ±3.47 / 67.98 ms │        57.37 / 62.54 ±5.35 / 71.00 ms │     no change │
│ QQuery 30 │      384.14 / 391.76 ±5.91 / 401.26 ms │     374.70 / 380.53 ±6.84 / 392.23 ms │     no change │
│ QQuery 31 │      375.43 / 385.86 ±7.80 / 397.61 ms │     373.34 / 380.26 ±7.46 / 393.62 ms │     no change │
│ QQuery 32 │ 1078.87 / 1190.20 ±132.48 / 1448.61 ms │ 1221.16 / 1336.66 ±76.39 / 1462.29 ms │  1.12x slower │
│ QQuery 33 │  1533.56 / 1552.63 ±14.99 / 1570.22 ms │ 1605.96 / 1658.85 ±46.25 / 1725.10 ms │  1.07x slower │
│ QQuery 34 │  1533.55 / 1551.23 ±16.31 / 1578.71 ms │ 1536.30 / 1558.67 ±21.44 / 1599.47 ms │     no change │
│ QQuery 35 │      429.14 / 434.32 ±4.04 / 439.57 ms │     425.35 / 430.23 ±3.56 / 434.37 ms │     no change │
│ QQuery 36 │      126.01 / 130.18 ±2.61 / 133.72 ms │     116.45 / 125.24 ±4.58 / 128.49 ms │     no change │
│ QQuery 37 │         52.03 / 53.72 ±1.21 / 55.47 ms │        50.47 / 52.48 ±1.79 / 54.78 ms │     no change │
│ QQuery 38 │         78.14 / 79.43 ±1.15 / 81.27 ms │        78.05 / 78.76 ±0.77 / 80.19 ms │     no change │
│ QQuery 39 │     217.48 / 229.93 ±10.02 / 242.88 ms │     220.61 / 232.00 ±6.75 / 241.22 ms │     no change │
│ QQuery 40 │         26.38 / 28.91 ±1.53 / 30.56 ms │        25.91 / 27.77 ±1.43 / 29.34 ms │     no change │
│ QQuery 41 │         22.28 / 22.76 ±0.35 / 23.14 ms │        21.07 / 22.91 ±1.84 / 26.34 ms │     no change │
│ QQuery 42 │         21.39 / 21.99 ±0.45 / 22.63 ms │        20.99 / 21.49 ±0.48 / 22.11 ms │     no change │
└───────────┴────────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                    ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                    │ 28140.01ms │
│ Total Time (simplify_pruning_pred)   │ 28220.26ms │
│ Average Time (HEAD)                  │   654.42ms │
│ Average Time (simplify_pruning_pred) │   656.29ms │
│ Queries Faster                       │          2 │
│ Queries Slower                       │          3 │
│ Queries with No Change               │         38 │
│ Queries with Failure                 │          0 │
└──────────────────────────────────────┴────────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 141.9s
Peak memory 41.5 GiB
Avg memory 32.0 GiB
CPU user 1327.6s
CPU sys 95.9s
Disk read 0 B
Disk write 3.9 GiB

clickbench_partitioned — branch

Metric Value
Wall time 142.3s
Peak memory 41.4 GiB
Avg memory 33.0 GiB
CPU user 1323.3s
CPU sys 104.0s
Disk read 0 B
Disk write 116.0 KiB

@Dandandan Dandandan closed this Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants