Skip to content

fix: Infer CASE and UNION output types before analysis - #27141

Draft
sdf-jkl wants to merge 4 commits into
apache:mainfrom
sdf-jkl:codex/case-union-schema-draft
Draft

sdf-jkl wants to merge 4 commits into
apache:mainfrom
sdf-jkl:codex/case-union-schema-draft

Conversation

@sdf-jkl

@sdf-jkl sdf-jkl commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Which issue does this PR close?

Addresses #27023. Related to #14380.

Draft alternative to #27139 by @kumarUjjawal, incorporating its dictionary coercion, deferred-error, and empty-input handling ideas. This version also refreshes UNION schemas after untyped parameter binding and keeps regression coverage in SQL.

Rationale for this change

Before analysis, DataFrame::schema() can report the first UNION input's type while execution returns a wider common type. CASE similarly overlooks wider later result branches. Infer the common output types early so callers see the expected schema.

What changes are included in this PR?

  • Infer CASE and positional/name-based UNION result types with existing coercion rules.
  • Refresh UNION schemas after parameter binding and preserve actual types in BY NAME alignment projections.
  • Coerce dictionaries from the actual inputs, including NULLs for missing BY NAME columns, without feeding inferred output types back into coercion.
  • Keep unsupported combinations available for analyzer rules to resolve or reject; return an error for empty input to coerce_union_schema.

Input casts remain deferred to the analyzer, so this does not fully resolve #14380.

What is the testing strategy for this PR?

Added checks in case.slt, union.slt, and union_by_name.slt cover pre-analysis schemas, all three type mismatches reported in #27023, deferred errors, and dictionary output types. Existing SLTs cover execution, including NVL/UNION.

Local validation passed: 13,491 Rust tests, all 547 SLT files, all-target/all-feature Clippy, Rust and Markdown formatting. Temporary API checks verified untyped parameter binding and empty-input handling. All five UNION integration tests from #27139 also passed against this implementation without adding them to this PR.

A local synthetic nested CASE benchmark measured SQL through physical planning against upstream b6b2e0e5d, using matching dependencies and optimized ci-bench builds (opt-level=1). Results are averages of two run medians; the parser recursion limit was raised equally in both builds.

CASE depth Upstream This PR Change
0 0.072 ms 0.073 ms Within noise
8 0.288 ms 0.298 ms +3%
32 1.062 ms 1.156 ms +9%
64 2.832 ms 3.194 ms +13%

Deeply nested CASE inference adds measurable planning work; these measurements do not establish a general workload slowdown.

Are there any user-facing changes?

DataFrame::schema() and DESCRIBE report inferred common types before analysis. Unsupported combinations remain deferred to analyzer coercion.

With a missing Dictionary(Int32, Utf8) column, UNION BY NAME now returns Utf8 in either input order. Previously, a missing left column preserved the dictionary representation. Values are unchanged; the upgrade note documents the schema compatibility change.

@github-actions github-actions Bot added logical-expr Logical plan and expressions sqllogictest SQL Logic Tests (.slt) labels Nov 5, 2026
Incorporate deferred CASE/UNION coercion errors, dictionary coercion from
actual inputs, and an empty-input guard, informed by:
apache#27139

Keep regression coverage in SQL and document the dictionary output-type
change for UNION BY NAME.
@sdf-jkl

sdf-jkl commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

@kumarUjjawal @alamb PTAL

@sdf-jkl

sdf-jkl commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

run benchmark sql_planner sql_planner_extended

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c6669426878-4529-7mkkj 6.12.105+ #1 SMP Sat Sep 19 07:55:25 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/case-union-schema-draft (21290b2) to 70f2ed0 (merge-base) diff

Run configuration
run benchmark sql_planner_extended

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-c6669426878-4528-nzcss 6.12.105+ #1 SMP Sat Sep 19 07:55:25 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/case-union-schema-draft (21290b2) to 70f2ed0 (merge-base) diff

Run configuration
run benchmark sql_planner

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/case-union-schema-draft (21290b2) to 70f2ed0 (merge-base) diff

Run configuration
run benchmark sql_planner_extended
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_case-union-schema-draft
-----                                                                                                    ----                                   -----------------------------
logical_plan_optimize_hotspot_case_heavy_left_join                                                       1.00   1375.0±2.27µs        ? ?/sec    1.06   1452.8±4.92µs        ? ?/sec
logical_unnest_in_200_exprs                                                                              1.00      3.7±0.01ms        ? ?/sec    1.01      3.8±0.01ms        ? ?/sec
logical_unnest_plus_1000_columns                                                                         1.00      8.0±0.02ms        ? ?/sec    1.00      8.1±0.02ms        ? ?/sec
logical_unnest_plus_200_columns                                                                          1.00   1179.6±3.07µs        ? ?/sec    1.01   1186.7±4.35µs        ? ?/sec
physical_plan_chained_case_projection_hotspot                                                            1.00    212.6±1.22ms        ? ?/sec    1.02    217.1±0.76ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=10,nesting_depth=1       1.00    836.9±2.33µs        ? ?/sec    1.02    850.8±3.20µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=10,nesting_depth=2       1.00   1016.9±2.42µs        ? ?/sec    1.01   1029.7±4.50µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=10,nesting_depth=3       1.00   1309.4±4.39µs        ? ?/sec    1.02   1329.8±3.20µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=20,nesting_depth=1       1.00   1242.0±2.98µs        ? ?/sec    1.01  1255.2±12.39µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=20,nesting_depth=2       1.00   1596.3±3.58µs        ? ?/sec    1.01   1607.5±4.50µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=20,nesting_depth=3       1.00      2.2±0.01ms        ? ?/sec    1.02      2.2±0.00ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=30,nesting_depth=1       1.00   1498.0±2.87µs        ? ?/sec    1.01   1512.9±5.37µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=30,nesting_depth=2       1.00      2.0±0.00ms        ? ?/sec    1.02      2.0±0.01ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=30,nesting_depth=3       1.00      2.8±0.00ms        ? ?/sec    1.02      2.9±0.00ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=40,nesting_depth=1       1.00   1784.7±3.21µs        ? ?/sec    1.02   1811.7±4.57µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=40,nesting_depth=2       1.00      2.5±0.01ms        ? ?/sec    1.01      2.5±0.00ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=40,nesting_depth=3       1.00      3.5±0.00ms        ? ?/sec    1.02      3.6±0.01ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=60,nesting_depth=1       1.00      2.5±0.00ms        ? ?/sec    1.02      2.5±0.00ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=60,nesting_depth=2       1.00      3.4±0.00ms        ? ?/sec    1.02      3.5±0.01ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/with_push_down_filter/predicates=60,nesting_depth=3       1.00      5.0±0.01ms        ? ?/sec    1.03      5.2±0.01ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=10,nesting_depth=1    1.00    725.8±1.41µs        ? ?/sec    1.01    735.1±3.27µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=10,nesting_depth=2    1.00    905.7±2.35µs        ? ?/sec    1.01    914.7±3.85µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=10,nesting_depth=3    1.00   1188.4±1.93µs        ? ?/sec    1.02   1210.3±4.07µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=20,nesting_depth=1    1.00   1109.5±2.52µs        ? ?/sec    1.01   1123.8±4.32µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=20,nesting_depth=2    1.00   1455.8±4.20µs        ? ?/sec    1.02   1484.5±8.24µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=20,nesting_depth=3    1.00      2.0±0.00ms        ? ?/sec    1.02      2.1±0.00ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=30,nesting_depth=1    1.00   1365.8±3.04µs        ? ?/sec    1.01   1384.5±3.53µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=30,nesting_depth=2    1.00   1876.0±5.38µs        ? ?/sec    1.01   1902.8±4.36µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=30,nesting_depth=3    1.00      2.7±0.00ms        ? ?/sec    1.03      2.8±0.00ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=40,nesting_depth=1    1.00   1653.4±4.03µs        ? ?/sec    1.02   1678.7±5.46µs        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=40,nesting_depth=2    1.00      2.3±0.01ms        ? ?/sec    1.02      2.4±0.00ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=40,nesting_depth=3    1.00      3.4±0.01ms        ? ?/sec    1.03      3.5±0.00ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=60,nesting_depth=1    1.00      2.3±0.00ms        ? ?/sec    1.02      2.4±0.00ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=60,nesting_depth=2    1.00      3.3±0.00ms        ? ?/sec    1.02      3.4±0.00ms        ? ?/sec
push_down_filter_control_non_case_left_join_ab/without_push_down_filter/predicates=60,nesting_depth=3    1.00      4.9±0.01ms        ? ?/sec    1.03      5.0±0.01ms        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=10,case_depth=1        1.00    793.7±2.15µs        ? ?/sec    1.03    817.2±2.80µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=10,case_depth=2        1.00    861.9±1.94µs        ? ?/sec    1.08    927.1±3.48µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=10,case_depth=3        1.00    944.5±5.32µs        ? ?/sec    1.11   1049.6±4.80µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=20,case_depth=1        1.00   1142.8±2.38µs        ? ?/sec    1.04   1194.1±4.56µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=20,case_depth=2        1.00   1282.8±2.78µs        ? ?/sec    1.10   1407.4±3.11µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=20,case_depth=3        1.00   1425.8±4.71µs        ? ?/sec    1.15   1645.8±4.47µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=30,case_depth=1        1.00   1371.4±2.51µs        ? ?/sec    1.06   1455.5±4.02µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=30,case_depth=2        1.00   1585.4±5.40µs        ? ?/sec    1.11   1766.9±4.83µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=30,case_depth=3        1.00   1802.4±3.75µs        ? ?/sec    1.18      2.1±0.00ms        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=40,case_depth=1        1.00   1634.9±3.43µs        ? ?/sec    1.07  1744.4±10.06µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=40,case_depth=2        1.00   1921.7±5.05µs        ? ?/sec    1.12      2.2±0.00ms        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=40,case_depth=3        1.00      2.2±0.00ms        ? ?/sec    1.20      2.7±0.00ms        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=60,case_depth=1        1.00      2.2±0.00ms        ? ?/sec    1.08      2.4±0.02ms        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=60,case_depth=2        1.00      2.7±0.00ms        ? ?/sec    1.15      3.1±0.00ms        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/with_push_down_filter/predicates=60,case_depth=3        1.00      3.1±0.00ms        ? ?/sec    1.22      3.8±0.02ms        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=10,case_depth=1     1.00    681.9±1.59µs        ? ?/sec    1.04    706.9±2.75µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=10,case_depth=2     1.00    752.4±1.61µs        ? ?/sec    1.08    814.3±3.58µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=10,case_depth=3     1.00    822.8±2.01µs        ? ?/sec    1.13    933.6±3.56µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=20,case_depth=1     1.00   1020.0±2.67µs        ? ?/sec    1.05   1070.0±4.33µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=20,case_depth=2     1.00   1151.7±2.09µs        ? ?/sec    1.12   1284.5±6.27µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=20,case_depth=3     1.00   1296.7±3.75µs        ? ?/sec    1.17   1515.8±4.21µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=30,case_depth=1     1.00   1247.7±2.66µs        ? ?/sec    1.06   1325.7±4.22µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=30,case_depth=2     1.00   1453.1±2.21µs        ? ?/sec    1.14   1655.0±4.24µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=30,case_depth=3     1.00   1664.7±4.72µs        ? ?/sec    1.20      2.0±0.00ms        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=40,case_depth=1     1.00   1506.2±2.93µs        ? ?/sec    1.07   1611.4±5.03µs        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=40,case_depth=2     1.00   1789.0±5.68µs        ? ?/sec    1.13      2.0±0.00ms        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=40,case_depth=3     1.00      2.1±0.01ms        ? ?/sec    1.22      2.5±0.00ms        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=60,case_depth=1     1.00      2.1±0.00ms        ? ?/sec    1.08      2.3±0.00ms        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=60,case_depth=2     1.00      2.6±0.01ms        ? ?/sec    1.14      2.9±0.00ms        ? ?/sec
push_down_filter_hotspot_case_heavy_left_join_ab/without_push_down_filter/predicates=60,case_depth=3     1.00      3.0±0.00ms        ? ?/sec    1.23      3.6±0.00ms        ? ?/sec
sample_size_10/logical_plan_optimize                                                                     1.00      69.0±0.22s        ? ?/sec    1.03      71.2±0.35s        ? ?/sec

Resource Usage

sql_planner_extended — base (merge-base)

Metric Value
Wall time 1700.4s
Peak memory 892.4 MiB
Avg memory 766.1 MiB
CPU user 1658.7s
CPU sys 1.1s
Peak spill 0 B

sql_planner_extended — branch

Metric Value
Wall time 1895.4s
Peak memory 891.8 MiB
Avg memory 692.9 MiB
CPU user 1672.3s
CPU sys 1.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)

Comparing codex/case-union-schema-draft (21290b2) to 70f2ed0 (merge-base) diff

Run configuration
run benchmark sql_planner
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_case-union-schema-draft
-----                                                 ----                                   -----------------------------
logical_aggregate_with_join                           1.00    316.6±2.64µs        ? ?/sec    1.00    315.3±1.70µs        ? ?/sec
logical_correlated_subquery_exists                    1.00    210.5±1.41µs        ? ?/sec    1.00    210.8±1.60µs        ? ?/sec
logical_correlated_subquery_in                        1.00    213.2±0.61µs        ? ?/sec    1.00    214.1±0.81µs        ? ?/sec
logical_distinct_many_columns                         1.02    256.2±1.15µs        ? ?/sec    1.00    252.3±1.28µs        ? ?/sec
logical_join_4_with_agg_and_filter                    1.05    201.3±1.74µs        ? ?/sec    1.00    191.8±1.22µs        ? ?/sec
logical_join_8_with_agg_sort_limit                    1.02    340.4±2.47µs        ? ?/sec    1.00    334.5±1.92µs        ? ?/sec
logical_join_chain_16                                 1.02    629.2±4.59µs        ? ?/sec    1.00    616.5±2.25µs        ? ?/sec
logical_join_chain_4                                  1.00     74.3±0.37µs        ? ?/sec    1.00     74.3±0.28µs        ? ?/sec
logical_join_chain_8                                  1.00    198.9±1.04µs        ? ?/sec    1.00    198.8±0.93µs        ? ?/sec
logical_multiple_subqueries                           1.01    399.9±2.45µs        ? ?/sec    1.00    395.8±2.30µs        ? ?/sec
logical_nested_cte_4_levels                           1.02    197.8±1.19µs        ? ?/sec    1.00    193.1±1.30µs        ? ?/sec
logical_plan_struct_join_agg_sort                     1.03    125.3±0.99µs        ? ?/sec    1.00    122.0±0.76µs        ? ?/sec
logical_plan_tpcds_all                                1.00     70.4±0.17ms        ? ?/sec    1.00     70.6±0.17ms        ? ?/sec
logical_plan_tpch_all                                 1.02      5.1±0.01ms        ? ?/sec    1.00      5.0±0.02ms        ? ?/sec
logical_scalar_subquery                               1.00    218.5±1.46µs        ? ?/sec    1.00    217.5±1.81µs        ? ?/sec
logical_select_all_from_1000                          1.01      2.3±0.01ms        ? ?/sec    1.00      2.3±0.01ms        ? ?/sec
logical_select_one_from_700                           1.00    232.9±1.83µs        ? ?/sec    1.01    234.4±1.96µs        ? ?/sec
logical_trivial_join_high_numbered_columns            1.01    195.6±1.52µs        ? ?/sec    1.00    194.0±1.39µs        ? ?/sec
logical_trivial_join_low_numbered_columns             1.00    195.7±1.34µs        ? ?/sec    1.00    195.1±2.14µs        ? ?/sec
logical_union_4_branches                              1.01    316.2±1.52µs        ? ?/sec    1.00    314.5±1.58µs        ? ?/sec
logical_union_8_branches                              1.01    642.8±2.31µs        ? ?/sec    1.00    635.0±1.76µs        ? ?/sec
logical_wide_aggregate_1000_exprs                     1.00     21.4±0.08ms        ? ?/sec    1.00     21.4±0.06ms        ? ?/sec
logical_wide_aggregate_100_exprs                      1.00   1456.5±6.99µs        ? ?/sec    1.00   1461.3±5.12µs        ? ?/sec
logical_wide_case_50_exprs                            1.00   1342.3±5.95µs        ? ?/sec    1.06   1427.5±5.48µs        ? ?/sec
logical_wide_filter_200_predicates                    1.01   1084.3±8.94µs        ? ?/sec    1.00   1075.4±7.00µs        ? ?/sec
logical_wide_filter_50_predicates                     1.01    326.0±2.12µs        ? ?/sec    1.00    322.1±1.06µs        ? ?/sec
optimizer_correlated_exists                           1.00    219.6±1.36µs        ? ?/sec    1.00    219.9±1.90µs        ? ?/sec
optimizer_join_4_with_agg_filter                      1.02    387.4±1.47µs        ? ?/sec    1.00    380.6±0.99µs        ? ?/sec
optimizer_join_chain_4                                1.00    136.3±0.31µs        ? ?/sec    1.00    136.5±0.30µs        ? ?/sec
optimizer_join_chain_8                                1.01    369.9±2.45µs        ? ?/sec    1.00    367.7±0.60µs        ? ?/sec
optimizer_select_all_from_1000                        1.01      2.4±0.01ms        ? ?/sec    1.00      2.4±0.01ms        ? ?/sec
optimizer_select_one_from_700                         1.00    239.9±1.08µs        ? ?/sec    1.00    240.1±0.51µs        ? ?/sec
optimizer_tpcds_all                                   1.00    232.6±0.25ms        ? ?/sec    1.01    235.0±0.92ms        ? ?/sec
optimizer_tpch_all                                    1.00     14.3±0.04ms        ? ?/sec    1.01     14.4±0.03ms        ? ?/sec
optimizer_wide_aggregate_100                          1.00   1753.6±3.45µs        ? ?/sec    1.00   1756.8±3.40µs        ? ?/sec
optimizer_wide_filter_200                             1.00      3.1±0.01ms        ? ?/sec    1.01      3.1±0.01ms        ? ?/sec
optimizer_wide_projection_stack_all                   1.00      5.8±0.01ms        ? ?/sec    1.00      5.8±0.01ms        ? ?/sec
optimizer_wide_projection_stack_half                  1.00      4.0±0.01ms        ? ?/sec    1.01      4.0±0.01ms        ? ?/sec
physical_cte_materialized_chain_6                     1.00      2.4±0.01ms        ? ?/sec    1.00      2.4±0.01ms        ? ?/sec
physical_cte_materialized_one_ref                     1.02    726.5±1.42µs        ? ?/sec    1.00    713.5±1.40µs        ? ?/sec
physical_cte_materialized_two_refs                    1.01    976.1±1.82µs        ? ?/sec    1.00    969.0±1.44µs        ? ?/sec
physical_cte_mixed                                    1.00      3.1±0.01ms        ? ?/sec    1.00      3.1±0.02ms        ? ?/sec
physical_cte_not_materialized_chain_6                 1.00     18.1±0.04ms        ? ?/sec    1.02     18.4±0.03ms        ? ?/sec
physical_cte_not_materialized_one_ref                 1.01    670.5±1.36µs        ? ?/sec    1.00    666.3±2.06µs        ? ?/sec
physical_cte_not_materialized_two_refs                1.00   1198.2±3.03µs        ? ?/sec    1.01   1211.4±3.28µs        ? ?/sec
physical_cte_unmarked_chain_6                         1.00     18.1±0.04ms        ? ?/sec    1.00     18.0±0.04ms        ? ?/sec
physical_cte_unmarked_one_ref                         1.00    663.0±1.60µs        ? ?/sec    1.00    662.0±8.15µs        ? ?/sec
physical_cte_unmarked_two_refs                        1.02   1205.2±5.03µs        ? ?/sec    1.00   1185.1±4.09µs        ? ?/sec
physical_intersection                                 1.00    520.2±2.70µs        ? ?/sec    1.00    521.0±2.37µs        ? ?/sec
physical_join_consider_sort                           1.00    974.6±2.23µs        ? ?/sec    1.00    974.9±2.94µs        ? ?/sec
physical_join_distinct                                1.00    190.6±1.52µs        ? ?/sec    1.00    190.5±1.36µs        ? ?/sec
physical_many_self_joins                              1.00      5.5±0.02ms        ? ?/sec    1.02      5.6±0.02ms        ? ?/sec
physical_plan_clickbench_all                          1.00    133.8±0.32ms        ? ?/sec    1.07    143.8±1.61ms        ? ?/sec
physical_plan_clickbench_q1                           1.01   1323.0±6.05µs        ? ?/sec    1.00   1311.8±5.41µs        ? ?/sec
physical_plan_clickbench_q10                          1.00  1885.9±16.49µs        ? ?/sec    1.01   1909.1±8.16µs        ? ?/sec
physical_plan_clickbench_q11                          1.00      2.1±0.04ms        ? ?/sec    1.05      2.2±0.01ms        ? ?/sec
physical_plan_clickbench_q12                          1.00      2.2±0.01ms        ? ?/sec    1.04      2.2±0.01ms        ? ?/sec
physical_plan_clickbench_q13                          1.00   1943.1±7.94µs        ? ?/sec    1.05      2.0±0.01ms        ? ?/sec
physical_plan_clickbench_q14                          1.00      2.1±0.01ms        ? ?/sec    1.04      2.1±0.01ms        ? ?/sec
physical_plan_clickbench_q15                          1.00      2.0±0.01ms        ? ?/sec    1.00      2.1±0.01ms        ? ?/sec
physical_plan_clickbench_q16                          1.00   1716.9±9.91µs        ? ?/sec    1.00   1710.3±9.54µs        ? ?/sec
physical_plan_clickbench_q17                          1.00   1717.8±6.41µs        ? ?/sec    1.03   1771.6±6.22µs        ? ?/sec
physical_plan_clickbench_q18                          1.00   1586.0±7.08µs        ? ?/sec    1.01   1607.8±8.03µs        ? ?/sec
physical_plan_clickbench_q19                          1.00   1929.9±6.78µs        ? ?/sec    1.02  1963.7±12.01µs        ? ?/sec
physical_plan_clickbench_q2                           1.00   1756.3±7.01µs        ? ?/sec    1.02   1784.0±5.09µs        ? ?/sec
physical_plan_clickbench_q20                          1.01   1580.1±8.54µs        ? ?/sec    1.00   1571.0±7.66µs        ? ?/sec
physical_plan_clickbench_q21                          1.00   1763.4±7.32µs        ? ?/sec    1.03  1814.0±10.49µs        ? ?/sec
physical_plan_clickbench_q22                          1.00      2.1±0.01ms        ? ?/sec    1.04      2.2±0.01ms        ? ?/sec
physical_plan_clickbench_q23                          1.00      2.2±0.01ms        ? ?/sec    1.03      2.3±0.01ms        ? ?/sec
physical_plan_clickbench_q24                          1.00      5.0±0.02ms        ? ?/sec    1.03      5.1±0.02ms        ? ?/sec
physical_plan_clickbench_q25                          1.00   1852.2±5.06µs        ? ?/sec    1.03  1902.5±12.25µs        ? ?/sec
physical_plan_clickbench_q26                          1.00   1718.1±5.75µs        ? ?/sec    1.02   1755.4±6.71µs        ? ?/sec
physical_plan_clickbench_q27                          1.00   1897.6±9.22µs        ? ?/sec    1.01   1921.4±8.09µs        ? ?/sec
physical_plan_clickbench_q28                          1.00      2.2±0.01ms        ? ?/sec    1.03      2.3±0.01ms        ? ?/sec
physical_plan_clickbench_q29                          1.00      2.3±0.02ms        ? ?/sec    1.05      2.5±0.01ms        ? ?/sec
physical_plan_clickbench_q3                           1.00  1579.4±11.43µs        ? ?/sec    1.01   1602.9±9.59µs        ? ?/sec
physical_plan_clickbench_q30                          1.00     12.0±0.02ms        ? ?/sec    1.00     12.0±0.02ms        ? ?/sec
physical_plan_clickbench_q31                          1.00      2.3±0.01ms        ? ?/sec    1.02      2.4±0.01ms        ? ?/sec
physical_plan_clickbench_q32                          1.00      2.3±0.01ms        ? ?/sec    1.04      2.4±0.02ms        ? ?/sec
physical_plan_clickbench_q33                          1.00   1892.4±7.70µs        ? ?/sec    1.03  1946.5±16.62µs        ? ?/sec
physical_plan_clickbench_q34                          1.00   1694.8±8.03µs        ? ?/sec    1.03  1753.2±23.91µs        ? ?/sec
physical_plan_clickbench_q35                          1.00   1751.2±5.39µs        ? ?/sec    1.01   1774.9±9.89µs        ? ?/sec
physical_plan_clickbench_q36                          1.00      2.0±0.00ms        ? ?/sec    1.00   1998.8±8.44µs        ? ?/sec
physical_plan_clickbench_q37                          1.00      2.5±0.02ms        ? ?/sec    1.04      2.6±0.01ms        ? ?/sec
physical_plan_clickbench_q38                          1.00      2.6±0.03ms        ? ?/sec    1.01      2.6±0.01ms        ? ?/sec
physical_plan_clickbench_q39                          1.00      2.6±0.01ms        ? ?/sec    1.03      2.7±0.01ms        ? ?/sec
physical_plan_clickbench_q4                           1.00   1397.2±5.53µs        ? ?/sec    1.03   1441.8±5.49µs        ? ?/sec
physical_plan_clickbench_q40                          1.00      3.2±0.02ms        ? ?/sec    1.04      3.3±0.02ms        ? ?/sec
physical_plan_clickbench_q41                          1.00      2.9±0.02ms        ? ?/sec    1.01      2.9±0.02ms        ? ?/sec
physical_plan_clickbench_q42                          1.00      2.9±0.01ms        ? ?/sec    1.03      3.0±0.02ms        ? ?/sec
physical_plan_clickbench_q43                          1.00      3.1±0.02ms        ? ?/sec    1.01      3.1±0.02ms        ? ?/sec
physical_plan_clickbench_q44                          1.00   1478.4±5.14µs        ? ?/sec    1.03   1516.6±5.59µs        ? ?/sec
physical_plan_clickbench_q45                          1.00   1493.7±4.68µs        ? ?/sec    1.00   1499.2±6.35µs        ? ?/sec
physical_plan_clickbench_q46                          1.00   1725.3±6.91µs        ? ?/sec    1.02   1765.5±8.86µs        ? ?/sec
physical_plan_clickbench_q47                          1.00      2.3±0.01ms        ? ?/sec    1.04      2.4±0.01ms        ? ?/sec
physical_plan_clickbench_q48                          1.00      2.6±0.02ms        ? ?/sec    1.01      2.7±0.02ms        ? ?/sec
physical_plan_clickbench_q49                          1.00      2.6±0.02ms        ? ?/sec    1.02      2.7±0.02ms        ? ?/sec
physical_plan_clickbench_q5                           1.00   1498.5±4.33µs        ? ?/sec    1.02  1535.5±13.72µs        ? ?/sec
physical_plan_clickbench_q50                          1.00      2.7±0.01ms        ? ?/sec    1.04      2.8±0.02ms        ? ?/sec
physical_plan_clickbench_q51                          1.00   1870.3±6.62µs        ? ?/sec    1.02  1900.2±10.19µs        ? ?/sec
physical_plan_clickbench_q52                          1.00      2.3±0.01ms        ? ?/sec    1.02      2.4±0.01ms        ? ?/sec
physical_plan_clickbench_q53                          1.00   1684.3±5.37µs        ? ?/sec    1.02   1712.0±7.02µs        ? ?/sec
physical_plan_clickbench_q54                          1.00   1659.8±5.36µs        ? ?/sec    1.04   1720.9±9.65µs        ? ?/sec
physical_plan_clickbench_q55                          1.00   1613.6±5.46µs        ? ?/sec    1.04   1671.4±8.45µs        ? ?/sec
physical_plan_clickbench_q56                          1.00   1664.9±6.28µs        ? ?/sec    1.01   1685.5±7.92µs        ? ?/sec
physical_plan_clickbench_q57                          1.00   1807.3±9.31µs        ? ?/sec    1.04  1871.8±15.19µs        ? ?/sec
physical_plan_clickbench_q58                          1.00      2.3±0.01ms        ? ?/sec    1.00      2.3±0.02ms        ? ?/sec
physical_plan_clickbench_q59                          1.00   1640.9±5.50µs        ? ?/sec    1.02   1675.5±8.97µs        ? ?/sec
physical_plan_clickbench_q6                           1.00   1498.8±4.78µs        ? ?/sec    1.02  1534.8±14.27µs        ? ?/sec
physical_plan_clickbench_q60                          1.00   1665.5±7.08µs        ? ?/sec    1.00   1671.0±7.91µs        ? ?/sec
physical_plan_clickbench_q7                           1.00   1342.6±4.46µs        ? ?/sec    1.04  1394.8±12.07µs        ? ?/sec
physical_plan_clickbench_q8                           1.00   1892.4±7.59µs        ? ?/sec    1.05   1985.5±9.76µs        ? ?/sec
physical_plan_clickbench_q9                           1.00   1770.3±5.11µs        ? ?/sec    1.04   1836.9±7.20µs        ? ?/sec
physical_plan_struct_join_agg_sort                    1.00   1181.9±4.06µs        ? ?/sec    1.00   1182.8±3.90µs        ? ?/sec
physical_plan_tpcds_all                               1.00    558.5±2.12ms        ? ?/sec    1.02    571.0±1.17ms        ? ?/sec
physical_plan_tpch_all                                1.00     39.6±0.06ms        ? ?/sec    1.01     40.0±0.12ms        ? ?/sec
physical_plan_tpch_q1                                 1.02   1377.4±2.44µs        ? ?/sec    1.00   1350.9±3.23µs        ? ?/sec
physical_plan_tpch_q10                                1.00      2.1±0.00ms        ? ?/sec    1.00      2.1±0.01ms        ? ?/sec
physical_plan_tpch_q11                                1.00      2.1±0.02ms        ? ?/sec    1.00      2.1±0.01ms        ? ?/sec
physical_plan_tpch_q12                                1.01  1221.7±11.40µs        ? ?/sec    1.00   1206.7±4.21µs        ? ?/sec
physical_plan_tpch_q13                                1.00    980.1±2.75µs        ? ?/sec    1.00    978.8±1.76µs        ? ?/sec
physical_plan_tpch_q14                                1.00   1192.4±2.60µs        ? ?/sec    1.01   1205.6±3.71µs        ? ?/sec
physical_plan_tpch_q16                                1.01   1583.9±2.70µs        ? ?/sec    1.00   1570.0±4.52µs        ? ?/sec
physical_plan_tpch_q17                                1.00   1518.2±3.81µs        ? ?/sec    1.00   1513.9±5.47µs        ? ?/sec
physical_plan_tpch_q18                                1.00   1774.7±4.94µs        ? ?/sec    1.00  1775.3±11.33µs        ? ?/sec
physical_plan_tpch_q19                                1.00   1955.5±3.50µs        ? ?/sec    1.00   1956.3±9.37µs        ? ?/sec
physical_plan_tpch_q2                                 1.00      3.2±0.00ms        ? ?/sec    1.01      3.3±0.01ms        ? ?/sec
physical_plan_tpch_q20                                1.00   1990.3±6.54µs        ? ?/sec    1.00   1997.2±5.50µs        ? ?/sec
physical_plan_tpch_q21                                1.00      2.4±0.00ms        ? ?/sec    1.01      2.4±0.01ms        ? ?/sec
physical_plan_tpch_q22                                1.00   1475.8±3.08µs        ? ?/sec    1.02   1503.1±4.95µs        ? ?/sec
physical_plan_tpch_q3                                 1.02   1607.3±3.96µs        ? ?/sec    1.00   1571.1±3.51µs        ? ?/sec
physical_plan_tpch_q4                                 1.00   1078.1±3.28µs        ? ?/sec    1.00   1077.1±4.35µs        ? ?/sec
physical_plan_tpch_q5                                 1.01      2.1±0.00ms        ? ?/sec    1.00      2.1±0.01ms        ? ?/sec
physical_plan_tpch_q6                                 1.00    708.6±2.04µs        ? ?/sec    1.00    711.6±5.43µs        ? ?/sec
physical_plan_tpch_q7                                 1.00      2.4±0.00ms        ? ?/sec    1.01      2.5±0.02ms        ? ?/sec
physical_plan_tpch_q8                                 1.00      3.2±0.09ms        ? ?/sec    1.00      3.2±0.01ms        ? ?/sec
physical_plan_tpch_q9                                 1.00      2.4±0.00ms        ? ?/sec    1.01      2.4±0.01ms        ? ?/sec
physical_select_aggregates_from_200                   1.00      5.9±0.01ms        ? ?/sec    1.02      6.0±0.01ms        ? ?/sec
physical_select_all_from_1000                         1.00      5.7±0.01ms        ? ?/sec    1.03      5.9±0.03ms        ? ?/sec
physical_select_one_from_700                          1.00    647.4±3.07µs        ? ?/sec    1.01    652.0±3.18µs        ? ?/sec
physical_sorted_union_order_by_10_int64               1.00      3.4±0.00ms        ? ?/sec    1.00      3.4±0.01ms        ? ?/sec
physical_sorted_union_order_by_10_uint64              1.00      7.3±0.01ms        ? ?/sec    1.03      7.5±0.03ms        ? ?/sec
physical_sorted_union_order_by_50_int64               1.00     66.8±0.12ms        ? ?/sec    1.02     68.2±0.15ms        ? ?/sec
physical_sorted_union_order_by_50_uint64              1.00    303.9±1.02ms        ? ?/sec    1.03    312.1±1.27ms        ? ?/sec
physical_theta_join_consider_sort                     1.00   1002.3±3.93µs        ? ?/sec    1.00    999.8±7.04µs        ? ?/sec
physical_unnest_to_join                               1.01    559.4±2.41µs        ? ?/sec    1.00    552.5±2.28µs        ? ?/sec
physical_window_function_partition_by_12_on_values    1.01    626.8±1.36µs        ? ?/sec    1.00    618.2±2.79µs        ? ?/sec
physical_window_function_partition_by_30_on_values    1.00   1162.7±1.89µs        ? ?/sec    1.00   1157.7±1.76µs        ? ?/sec
physical_window_function_partition_by_4_on_values     1.03    399.0±3.30µs        ? ?/sec    1.00    389.1±1.02µs        ? ?/sec
physical_window_function_partition_by_7_on_values     1.02    479.0±0.85µs        ? ?/sec    1.00    468.7±1.24µs        ? ?/sec
physical_window_function_partition_by_8_on_values     1.01    505.1±1.11µs        ? ?/sec    1.00    497.9±1.39µs        ? ?/sec
with_param_values_many_columns                        1.00    241.1±1.37µs        ? ?/sec    1.00    241.7±1.66µs        ? ?/sec

Resource Usage

sql_planner — base (merge-base)

Metric Value
Wall time 1915.4s
Peak memory 143.5 MiB
Avg memory 111.9 MiB
CPU user 2138.6s
CPU sys 1.6s
Peak spill 0 B

sql_planner — branch

Metric Value
Wall time 1915.4s
Peak memory 149.6 MiB
Avg memory 116.7 MiB
CPU user 2139.4s
CPU sys 1.7s
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

logical-expr Logical plan and expressions sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create UNION plan node with correct schema

2 participants