You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "kumarUjjawal (via GitHub)" <gi...@apache.org> on 2026/09/23 13:03:22 UTC
[PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
kumarUjjawal opened a new pull request, #25648:
URL: https://github.com/apache/datafusion/pull/25648
## Which issue does this PR close?
Closes #25620.
## Rationale for this change
Bare `IS NULL` and `IS NOT NULL` filters currently use the default selectivity even when the input has a null count. For five rows containing two NULLs, they both estimate one row instead of two and three.
Using those counts also requires keeping them valid through joins and pushed-down fetch limits. Joins can repeat input rows and add NULL padding, so copying input null counts can give the filter an incorrect estimate or an unjustified exact result.
## What changes are included in this PR?
- Estimate bare column null checks from available null counts, preserve their precision, and retain the existing fallback for missing statistics and other predicates.
- Apply per-partition fetch limits in both filter statistics paths. Keep all-null, empty, and singleton column statistics consistent with the output rows.
- Adjust join null counts for repeated rows, unmatched rows, and NULL padding. Reuse semi-join estimates to count unmatched input rows, and share the NULL-match estimate between single-key null-safe joins. Unknown contributions remain unknown.
- Normalize semi/anti-join column statistics and rescale null counts when a statistics provider replaces the row estimate. Avoid applying a non-null distinct-count bound to an `IS NULL` result.
These rules use general operator semantics; there are no TPC-H or TPC-DS special cases.
## What is the testing strategy for this PR?
Unit coverage includes exact, inexact, missing, and inconsistent statistics; empty and all-null inputs; fetch limits across partitions; projections; all join types; both null-equality modes; duplicate matches; and unknown null counts. SQL logic tests check the estimates and results of null filters, including filters above outer joins.
Completed locally:
- Extended workspace tests with `avro,json,backtrace,extended_tests,recursive_protection,parquet_encryption`: 12,075 Rust tests passed and all 522 SQL logic test files passed.
- `cargo clippy -p datafusion-physical-plan --all-targets --all-features -- -D warnings`
- `cargo fmt --all -- --check`
- Runtime reproductions confirmed the duplicate-match and null-safe key NULL counts against actual join output.
Release-mode benchmarks compared this branch with `main` at `7570366fd`. Ad hoc statistics microbenchmarks measured about 20% less time for a bare null check and 30β45 ns more per join-statistics calculation. The existing `compute_statistics` filter-chain comparison was inconclusive because unchanged controls also varied. These measurements cover statistics calculation, not end-to-end query performance.
## Are there any user-facing changes?
Null-check row estimates and related `EXPLAIN` statistics improve. Plan choices can change as a result. No public API changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "kumarUjjawal (via GitHub)" <gi...@apache.org>.
kumarUjjawal commented on code in PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#discussion_r4130061993
##########
datafusion/physical-plan/src/joins/utils.rs:
##########
@@ -514,45 +517,99 @@ fn estimate_join_cardinality(
match join_type {
JoinType::Inner | JoinType::Left | JoinType::Right | JoinType::Full => {
- let ij_cardinality = estimate_inner_join_cardinality(
- Statistics {
- num_rows: left_stats.num_rows,
- total_byte_size: Precision::Absent,
- column_statistics: left_key_stats,
- },
- Statistics {
- num_rows: right_stats.num_rows,
- total_byte_size: Precision::Absent,
- column_statistics: right_key_stats,
- },
- )?;
-
- // The cardinality for inner join can also be used to estimate
- // the cardinality of left/right/full outer joins as long as it
- // it is greater than the minimum cardinality constraints of these
- // joins (so that we don't underestimate the cardinality).
- let cardinality = match join_type {
- JoinType::Inner => ij_cardinality,
- JoinType::Left => ij_cardinality.max(&left_stats.num_rows),
- JoinType::Right => ij_cardinality.max(&right_stats.num_rows),
- JoinType::Full => ij_cardinality
- .max(&left_stats.num_rows)
- .add(&ij_cardinality.max(&right_stats.num_rows))
- .sub(&ij_cardinality),
- _ => unreachable!(),
+ let left_keys_stats = Statistics {
+ num_rows: left_stats.num_rows,
+ total_byte_size: Precision::Absent,
+ column_statistics: left_key_stats,
+ };
+ let right_keys_stats = Statistics {
+ num_rows: right_stats.num_rows,
+ total_byte_size: Precision::Absent,
+ column_statistics: right_key_stats,
+ };
+ // For a single null-safe key, every left NULL matches every right
+ // NULL. With more keys their correlation is unknown.
+ let null_matches =
+ if null_equality == NullEquality::NullEqualsNull && on.len() == 1 {
+ left_keys_stats.column_statistics[0]
+ .null_count
+ .multiply(&right_keys_stats.column_statistics[0].null_count)
+ .to_inexact()
+ } else {
+ Precision::Absent
+ };
+ let inner_rows =
+ *estimate_inner_join_cardinality(&left_keys_stats, &right_keys_stats)?
+ .get_value()?;
+ let inner_rows =
+ inner_rows.max(null_matches.get_value().copied().unwrap_or(0));
+ let left_rows = left_stats.num_rows.get_value().copied();
+ let right_rows = right_stats.num_rows.get_value().copied();
+ let left_preserved = matches!(join_type, JoinType::Left | JoinType::Full);
+ let right_preserved = matches!(join_type, JoinType::Right | JoinType::Full);
+ let unmatched_left = if left_preserved {
+ estimate_join_unmatched_rows(
+ &left_keys_stats,
+ &right_keys_stats,
+ inner_rows,
+ null_equality,
+ )?
+ } else {
+ 0
+ };
+ let unmatched_right = if right_preserved {
+ estimate_join_unmatched_rows(
+ &right_keys_stats,
+ &left_keys_stats,
+ inner_rows,
+ null_equality,
+ )?
+ } else {
+ 0
};
+ let left_side = JoinSideRows {
+ input: left_rows,
+ own: inner_rows.saturating_add(unmatched_left),
+ padded: right_preserved.then_some(unmatched_right),
+ preserved: left_preserved,
+ };
+ let right_side = JoinSideRows {
+ input: right_rows,
+ own: inner_rows.saturating_add(unmatched_right),
+ padded: left_preserved.then_some(unmatched_left),
+ preserved: right_preserved,
+ };
+ let mut left_column_statistics = left_stats.column_statistics;
+ let mut right_column_statistics = right_stats.column_statistics;
+ let (left_keys, right_keys): (Vec<_>, Vec<_>) =
+ on_column_indices.iter().flatten().copied().unzip();
+ estimate_join_null_counts(
+ &mut left_column_statistics,
+ &left_side,
+ &left_keys,
+ null_equality,
+ null_matches,
+ );
+ estimate_join_null_counts(
+ &mut right_column_statistics,
+ &right_side,
+ &right_keys,
+ null_equality,
+ null_matches,
+ );
Some(PartialJoinStatistics {
- num_rows: *cardinality.get_value()?,
+ num_rows: inner_rows
Review Comment:
Split into three independent PRs against main:
- #25861: join cardinality and null counts
- #25862: filter fetch accounting
- #25863: singleton precision
The null-filter change is now a separate final commit: 78bdfbc18ac5ccf2f7ceca232152462d526df70a. I am keeping #25648 as a draft until the supporting PRs merge, then I will rebase away their commits. Its Files Changed tab still includes them for now because GitHub does not support native stacks across forks.
Each independent branch passed the physical-plan tests and clippy. The combined branch also passed both affected SQL logic test files, and the singleton PR passed its Parquet file independently.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-6342443258
π€ Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-6342213186)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
Comparing kumar/null-check-statistics (584bc64051b5dc42cc83aa5d987e3648748f21df) to 2717e25 (merge-base) [diff](https://github.com/apache/datafusion/compare/2717e25625ff0c51c1805f8df52d317979db74ec..584bc64051b5dc42cc83aa5d987e3648748f21df)
<details><summary>Run configuration</summary>
```yaml
run benchmark tpch
```
</details>
<details><summary>CPU Details (lscpu)</summary>
```
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>
<details><summary>Details</summary>
<p>
```
Comparing HEAD and kumar_null-check-statistics
--------------------
Benchmark tpch_sf1.json
--------------------
βββββββββββββ³βββββββββββ³ββββββββββββββββββββββββββββββ³ββββββββββββ
β Query β HEAD β kumar_null-check-statistics β Change β
β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β QQuery 1 β 40.65 ms β 40.52 ms β no change β
β QQuery 2 β 18.12 ms β 18.16 ms β no change β
β QQuery 3 β 28.33 ms β 28.17 ms β no change β
β QQuery 4 β 17.28 ms β 17.18 ms β no change β
β QQuery 5 β 35.13 ms β 35.14 ms β no change β
β QQuery 6 β 13.68 ms β 13.40 ms β no change β
β QQuery 7 β 41.73 ms β 40.61 ms β no change β
β QQuery 8 β 41.00 ms β 40.45 ms β no change β
β QQuery 9 β 49.19 ms β 49.70 ms β no change β
β QQuery 10 β 40.26 ms β 40.35 ms β no change β
β QQuery 11 β 13.44 ms β 13.36 ms β no change β
β QQuery 12 β 17.88 ms β 17.70 ms β no change β
β QQuery 13 β 39.15 ms β 39.23 ms β no change β
β QQuery 14 β 24.71 ms β 24.62 ms β no change β
β QQuery 15 β 30.83 ms β 31.12 ms β no change β
β QQuery 16 β 13.61 ms β 13.43 ms β no change β
β QQuery 17 β 73.97 ms β 73.82 ms β no change β
β QQuery 18 β 46.42 ms β 45.60 ms β no change β
β QQuery 19 β 32.01 ms β 31.71 ms β no change β
β QQuery 20 β 31.71 ms β 32.00 ms β no change β
β QQuery 21 β 54.95 ms β 55.10 ms β no change β
β QQuery 22 β 13.91 ms β 13.89 ms β no change β
βββββββββββββ΄βββββββββββ΄ββββββββββββββββββββββββββββββ΄ββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββ³βββββββββββ
β Benchmark Summary β β
β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β Total Time (HEAD) β 717.98ms β
β Total Time (kumar_null-check-statistics) β 715.28ms β
β Average Time (HEAD) β 32.64ms β
β Average Time (kumar_null-check-statistics) β 32.51ms β
β Queries Faster β 0 β
β Queries Slower β 0 β
β Queries with No Change β 22 β
β Queries with Failure β 0 β
ββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββ
Distribution per query (min / mean Β±stddev / max):
Comparing HEAD and kumar_null-check-statistics
--------------------
Benchmark tpch_sf1.json
--------------------
βββββββββββββ³βββββββββββββββββββββββββββββββββ³βββββββββββββββββββββββββββββββββ³ββββββββββββ
β Query β HEAD β kumar_null-check-statistics β Change β
β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β QQuery 1 β 40.65 / 42.02 Β±1.55 / 44.84 ms β 40.52 / 41.72 Β±1.22 / 43.33 ms β no change β
β QQuery 2 β 18.12 / 18.38 Β±0.37 / 19.11 ms β 18.16 / 18.36 Β±0.23 / 18.80 ms β no change β
β QQuery 3 β 28.33 / 28.71 Β±0.28 / 29.19 ms β 28.17 / 28.44 Β±0.26 / 28.93 ms β no change β
β QQuery 4 β 17.28 / 17.51 Β±0.15 / 17.70 ms β 17.18 / 17.82 Β±0.49 / 18.64 ms β no change β
β QQuery 5 β 35.13 / 35.43 Β±0.27 / 35.87 ms β 35.14 / 35.60 Β±0.38 / 36.29 ms β no change β
β QQuery 6 β 13.68 / 13.91 Β±0.20 / 14.22 ms β 13.40 / 14.31 Β±0.95 / 15.50 ms β no change β
β QQuery 7 β 41.73 / 43.19 Β±1.45 / 45.76 ms β 40.61 / 42.44 Β±0.99 / 43.43 ms β no change β
β QQuery 8 β 41.00 / 42.04 Β±1.35 / 44.60 ms β 40.45 / 43.53 Β±2.60 / 47.97 ms β no change β
β QQuery 9 β 49.19 / 50.31 Β±0.71 / 51.36 ms β 49.70 / 51.63 Β±1.33 / 53.61 ms β no change β
β QQuery 10 β 40.26 / 40.54 Β±0.19 / 40.79 ms β 40.35 / 40.89 Β±0.49 / 41.69 ms β no change β
β QQuery 11 β 13.44 / 13.61 Β±0.20 / 13.95 ms β 13.36 / 13.60 Β±0.22 / 14.00 ms β no change β
β QQuery 12 β 17.88 / 18.30 Β±0.32 / 18.87 ms β 17.70 / 18.16 Β±0.31 / 18.61 ms β no change β
β QQuery 13 β 39.15 / 39.54 Β±0.27 / 39.82 ms β 39.23 / 39.75 Β±0.37 / 40.29 ms β no change β
β QQuery 14 β 24.71 / 24.90 Β±0.22 / 25.30 ms β 24.62 / 24.86 Β±0.18 / 25.07 ms β no change β
β QQuery 15 β 30.83 / 31.16 Β±0.28 / 31.66 ms β 31.12 / 31.81 Β±0.60 / 32.76 ms β no change β
β QQuery 16 β 13.61 / 13.93 Β±0.34 / 14.49 ms β 13.43 / 13.88 Β±0.34 / 14.39 ms β no change β
β QQuery 17 β 73.97 / 75.95 Β±1.36 / 77.47 ms β 73.82 / 74.31 Β±0.52 / 75.06 ms β no change β
β QQuery 18 β 46.42 / 46.79 Β±0.38 / 47.46 ms β 45.60 / 46.03 Β±0.29 / 46.47 ms β no change β
β QQuery 19 β 32.01 / 33.13 Β±1.07 / 34.72 ms β 31.71 / 32.84 Β±1.08 / 34.37 ms β no change β
β QQuery 20 β 31.71 / 32.15 Β±0.39 / 32.85 ms β 32.00 / 32.07 Β±0.05 / 32.15 ms β no change β
β QQuery 21 β 54.95 / 56.19 Β±0.84 / 57.31 ms β 55.10 / 57.42 Β±1.94 / 60.73 ms β no change β
β QQuery 22 β 13.91 / 14.25 Β±0.51 / 15.25 ms β 13.89 / 14.11 Β±0.17 / 14.34 ms β no change β
βββββββββββββ΄βββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββ΄ββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββ³βββββββββββ
β Benchmark Summary β β
β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β Total Time (HEAD) β 731.95ms β
β Total Time (kumar_null-check-statistics) β 733.56ms β
β Average Time (HEAD) β 33.27ms β
β Average Time (kumar_null-check-statistics) β 33.34ms β
β Queries Faster β 0 β
β Queries Slower β 0 β
β Queries with No Change β 22 β
β Queries with Failure β 0 β
ββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**tpch β base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 5.0s |
| Peak memory | 1.2 GiB |
| Avg memory | 479.9 MiB |
| CPU user | 20.0s |
| CPU sys | 1.6s |
| Peak spill | 0 B |
**tpch β branch**
| Metric | Value |
|--------|-------|
| Wall time | 5.0s |
| Peak memory | 1.2 GiB |
| Avg memory | 478.4 MiB |
| CPU user | 19.9s |
| CPU sys | 1.7s |
| Peak spill | 0 B |
</details>
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-5795594127
π€ Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-5795421755)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
Comparing kumar/null-check-statistics (227581d74c5c90ba06c26fd374c00ee9228bcf66) to 714956b (merge-base) [diff](https://github.com/apache/datafusion/compare/714956b3a8aed43e8abd27ed400710417d231982..227581d74c5c90ba06c26fd374c00ee9228bcf66)
<details><summary>Run configuration</summary>
```yaml
run benchmark tpch
```
</details>
<details><summary>CPU Details (lscpu)</summary>
```
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>
<details><summary>Details</summary>
<p>
```
Comparing HEAD and kumar_null-check-statistics
--------------------
Benchmark tpch_sf1.json
--------------------
βββββββββββββ³βββββββββββ³ββββββββββββββββββββββββββββββ³ββββββββββββββββ
β Query β HEAD β kumar_null-check-statistics β Change β
β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β QQuery 1 β 42.03 ms β 42.10 ms β no change β
β QQuery 2 β 20.76 ms β 19.63 ms β +1.06x faster β
β QQuery 3 β 30.16 ms β 30.12 ms β no change β
β QQuery 4 β 18.20 ms β 18.38 ms β no change β
β QQuery 5 β 37.82 ms β 37.49 ms β no change β
β QQuery 6 β 17.27 ms β 17.13 ms β no change β
β QQuery 7 β 44.23 ms β 44.70 ms β no change β
β QQuery 8 β 42.58 ms β 42.55 ms β no change β
β QQuery 9 β 52.58 ms β 52.41 ms β no change β
β QQuery 10 β 43.60 ms β 43.07 ms β no change β
β QQuery 11 β 14.94 ms β 15.02 ms β no change β
β QQuery 12 β 22.39 ms β 22.17 ms β no change β
β QQuery 13 β 45.18 ms β 44.20 ms β no change β
β QQuery 14 β 26.14 ms β 25.86 ms β no change β
β QQuery 15 β 32.72 ms β 32.69 ms β no change β
β QQuery 16 β 14.98 ms β 14.86 ms β no change β
β QQuery 17 β 82.82 ms β 82.02 ms β no change β
β QQuery 18 β 65.83 ms β 65.34 ms β no change β
β QQuery 19 β 33.53 ms β 33.49 ms β no change β
β QQuery 20 β 33.99 ms β 34.04 ms β no change β
β QQuery 21 β 60.68 ms β 61.23 ms β no change β
β QQuery 22 β 15.26 ms β 15.24 ms β no change β
βββββββββββββ΄βββββββββββ΄ββββββββββββββββββββββββββββββ΄ββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββ³βββββββββββ
β Benchmark Summary β β
β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β Total Time (HEAD) β 797.71ms β
β Total Time (kumar_null-check-statistics) β 793.74ms β
β Average Time (HEAD) β 36.26ms β
β Average Time (kumar_null-check-statistics) β 36.08ms β
β Queries Faster β 1 β
β Queries Slower β 0 β
β Queries with No Change β 21 β
β Queries with Failure β 0 β
ββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββ
Distribution per query (min / mean Β±stddev / max):
Comparing HEAD and kumar_null-check-statistics
--------------------
Benchmark tpch_sf1.json
--------------------
βββββββββββββ³βββββββββββββββββββββββββββββββββ³βββββββββββββββββββββββββββββββββ³ββββββββββββββββ
β Query β HEAD β kumar_null-check-statistics β Change β
β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β QQuery 1 β 42.03 / 42.79 Β±1.06 / 44.88 ms β 42.10 / 43.83 Β±1.22 / 45.83 ms β no change β
β QQuery 2 β 20.76 / 22.73 Β±1.84 / 25.67 ms β 19.63 / 19.84 Β±0.20 / 20.15 ms β +1.15x faster β
β QQuery 3 β 30.16 / 30.86 Β±1.00 / 32.84 ms β 30.12 / 30.39 Β±0.17 / 30.66 ms β no change β
β QQuery 4 β 18.20 / 19.09 Β±0.59 / 19.82 ms β 18.38 / 18.51 Β±0.16 / 18.82 ms β no change β
β QQuery 5 β 37.82 / 38.05 Β±0.16 / 38.24 ms β 37.49 / 38.03 Β±0.33 / 38.50 ms β no change β
β QQuery 6 β 17.27 / 17.48 Β±0.19 / 17.83 ms β 17.13 / 17.71 Β±0.57 / 18.48 ms β no change β
β QQuery 7 β 44.23 / 47.56 Β±3.94 / 55.05 ms β 44.70 / 45.19 Β±0.75 / 46.67 ms β no change β
β QQuery 8 β 42.58 / 44.85 Β±2.01 / 47.45 ms β 42.55 / 43.05 Β±0.45 / 43.80 ms β no change β
β QQuery 9 β 52.58 / 53.86 Β±1.20 / 55.83 ms β 52.41 / 53.54 Β±0.92 / 55.13 ms β no change β
β QQuery 10 β 43.60 / 44.31 Β±0.59 / 45.29 ms β 43.07 / 44.66 Β±1.68 / 46.83 ms β no change β
β QQuery 11 β 14.94 / 15.09 Β±0.15 / 15.36 ms β 15.02 / 15.83 Β±0.76 / 17.23 ms β no change β
β QQuery 12 β 22.39 / 23.90 Β±1.81 / 27.44 ms β 22.17 / 23.31 Β±0.80 / 24.63 ms β no change β
β QQuery 13 β 45.18 / 46.62 Β±0.97 / 47.56 ms β 44.20 / 45.04 Β±0.88 / 46.65 ms β no change β
β QQuery 14 β 26.14 / 26.92 Β±1.35 / 29.62 ms β 25.86 / 26.43 Β±0.87 / 28.17 ms β no change β
β QQuery 15 β 32.72 / 33.35 Β±0.81 / 34.93 ms β 32.69 / 33.15 Β±0.32 / 33.57 ms β no change β
β QQuery 16 β 14.98 / 15.10 Β±0.11 / 15.27 ms β 14.86 / 15.02 Β±0.12 / 15.20 ms β no change β
β QQuery 17 β 82.82 / 84.47 Β±1.61 / 87.21 ms β 82.02 / 82.58 Β±0.54 / 83.55 ms β no change β
β QQuery 18 β 65.83 / 66.73 Β±0.71 / 67.69 ms β 65.34 / 67.63 Β±1.29 / 68.73 ms β no change β
β QQuery 19 β 33.53 / 33.87 Β±0.19 / 34.06 ms β 33.49 / 33.60 Β±0.07 / 33.68 ms β no change β
β QQuery 20 β 33.99 / 34.48 Β±0.33 / 34.92 ms β 34.04 / 34.53 Β±0.60 / 35.71 ms β no change β
β QQuery 21 β 60.68 / 62.66 Β±3.17 / 68.97 ms β 61.23 / 62.28 Β±1.04 / 64.12 ms β no change β
β QQuery 22 β 15.26 / 15.63 Β±0.31 / 16.01 ms β 15.24 / 16.09 Β±1.06 / 18.16 ms β no change β
βββββββββββββ΄βββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββ΄ββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββ³βββββββββββ
β Benchmark Summary β β
β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β Total Time (HEAD) β 820.39ms β
β Total Time (kumar_null-check-statistics) β 810.24ms β
β Average Time (HEAD) β 37.29ms β
β Average Time (kumar_null-check-statistics) β 36.83ms β
β Queries Faster β 1 β
β Queries Slower β 0 β
β Queries with No Change β 21 β
β Queries with Failure β 0 β
ββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**tpch β base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 5.0s |
| Peak memory | 1.1 GiB |
| Avg memory | 629.3 MiB |
| CPU user | 22.7s |
| CPU sys | 2.2s |
| Peak spill | 0 B |
**tpch β branch**
| Metric | Value |
|--------|-------|
| Wall time | 5.0s |
| Peak memory | 981.8 MiB |
| Avg memory | 603.0 MiB |
| CPU user | 22.7s |
| CPU sys | 2.1s |
| Peak spill | 0 B |
</details>
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-5795474279
π€ Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-5795426477)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5795426477-2636-8t6tm 6.12.94+ #1 SMP Wed Aug 19 07:47:20 UTC 2026 aarch64 GNU/Linux`
<details><summary>CPU Details (lscpu)</summary>
```
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 kumar/null-check-statistics (227581d74c5c90ba06c26fd374c00ee9228bcf66) to 714956b (merge-base) [diff](https://github.com/apache/datafusion/compare/714956b3a8aed43e8abd27ed400710417d231982..227581d74c5c90ba06c26fd374c00ee9228bcf66)
<details><summary>Run configuration</summary>
```yaml
run benchmark imdb
```
</details>
Results will be posted here when complete
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-6342265772
π€ Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-6342213186)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c6342213186-3756-xzfpj 6.12.94+ #1 SMP Fri Aug 21 08:00:16 UTC 2026 aarch64 GNU/Linux`
<details><summary>CPU Details (lscpu)</summary>
```
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 kumar/null-check-statistics (584bc64051b5dc42cc83aa5d987e3648748f21df) to 2717e25 (merge-base) [diff](https://github.com/apache/datafusion/compare/2717e25625ff0c51c1805f8df52d317979db74ec..584bc64051b5dc42cc83aa5d987e3648748f21df)
<details><summary>Run configuration</summary>
```yaml
run benchmark tpcds
```
</details>
Results will be posted here when complete
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "kumarUjjawal (via GitHub)" <gi...@apache.org>.
kumarUjjawal commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-6342213186
run benchmark tpcds tpch sql_planner compute_statistics
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "gabotechs (via GitHub)" <gi...@apache.org>.
gabotechs commented on code in PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#discussion_r4122769097
##########
datafusion/physical-plan/src/joins/utils.rs:
##########
@@ -514,45 +517,99 @@ fn estimate_join_cardinality(
match join_type {
JoinType::Inner | JoinType::Left | JoinType::Right | JoinType::Full => {
- let ij_cardinality = estimate_inner_join_cardinality(
- Statistics {
- num_rows: left_stats.num_rows,
- total_byte_size: Precision::Absent,
- column_statistics: left_key_stats,
- },
- Statistics {
- num_rows: right_stats.num_rows,
- total_byte_size: Precision::Absent,
- column_statistics: right_key_stats,
- },
- )?;
-
- // The cardinality for inner join can also be used to estimate
- // the cardinality of left/right/full outer joins as long as it
- // it is greater than the minimum cardinality constraints of these
- // joins (so that we don't underestimate the cardinality).
- let cardinality = match join_type {
- JoinType::Inner => ij_cardinality,
- JoinType::Left => ij_cardinality.max(&left_stats.num_rows),
- JoinType::Right => ij_cardinality.max(&right_stats.num_rows),
- JoinType::Full => ij_cardinality
- .max(&left_stats.num_rows)
- .add(&ij_cardinality.max(&right_stats.num_rows))
- .sub(&ij_cardinality),
- _ => unreachable!(),
+ let left_keys_stats = Statistics {
+ num_rows: left_stats.num_rows,
+ total_byte_size: Precision::Absent,
+ column_statistics: left_key_stats,
+ };
+ let right_keys_stats = Statistics {
+ num_rows: right_stats.num_rows,
+ total_byte_size: Precision::Absent,
+ column_statistics: right_key_stats,
+ };
+ // For a single null-safe key, every left NULL matches every right
+ // NULL. With more keys their correlation is unknown.
+ let null_matches =
+ if null_equality == NullEquality::NullEqualsNull && on.len() == 1 {
+ left_keys_stats.column_statistics[0]
+ .null_count
+ .multiply(&right_keys_stats.column_statistics[0].null_count)
+ .to_inexact()
+ } else {
+ Precision::Absent
+ };
+ let inner_rows =
+ *estimate_inner_join_cardinality(&left_keys_stats, &right_keys_stats)?
+ .get_value()?;
+ let inner_rows =
+ inner_rows.max(null_matches.get_value().copied().unwrap_or(0));
+ let left_rows = left_stats.num_rows.get_value().copied();
+ let right_rows = right_stats.num_rows.get_value().copied();
+ let left_preserved = matches!(join_type, JoinType::Left | JoinType::Full);
+ let right_preserved = matches!(join_type, JoinType::Right | JoinType::Full);
+ let unmatched_left = if left_preserved {
+ estimate_join_unmatched_rows(
+ &left_keys_stats,
+ &right_keys_stats,
+ inner_rows,
+ null_equality,
+ )?
+ } else {
+ 0
+ };
+ let unmatched_right = if right_preserved {
+ estimate_join_unmatched_rows(
+ &right_keys_stats,
+ &left_keys_stats,
+ inner_rows,
+ null_equality,
+ )?
+ } else {
+ 0
};
+ let left_side = JoinSideRows {
+ input: left_rows,
+ own: inner_rows.saturating_add(unmatched_left),
+ padded: right_preserved.then_some(unmatched_right),
+ preserved: left_preserved,
+ };
+ let right_side = JoinSideRows {
+ input: right_rows,
+ own: inner_rows.saturating_add(unmatched_right),
+ padded: left_preserved.then_some(unmatched_left),
+ preserved: right_preserved,
+ };
+ let mut left_column_statistics = left_stats.column_statistics;
+ let mut right_column_statistics = right_stats.column_statistics;
+ let (left_keys, right_keys): (Vec<_>, Vec<_>) =
+ on_column_indices.iter().flatten().copied().unzip();
+ estimate_join_null_counts(
+ &mut left_column_statistics,
+ &left_side,
+ &left_keys,
+ null_equality,
+ null_matches,
+ );
+ estimate_join_null_counts(
+ &mut right_column_statistics,
+ &right_side,
+ &right_keys,
+ null_equality,
+ null_matches,
+ );
Some(PartialJoinStatistics {
- num_rows: *cardinality.get_value()?,
+ num_rows: inner_rows
Review Comment:
Thanks for working on this! Could we split this into smaller PRs? The original issue is about using null counts for bare IS NULL / IS NOT NULL filters, but this also changes outer-join cardinality estimation, fetch-limit accounting, and singleton-statistics precision.
Some join null-count fixes may be prerequisites; those could go first, followed by the focused null-filter change. The independent fetch and precision changes could be separate PRs. That would make the assumptions and tests much easier to review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-5795459199
π€ Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-5795421755)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5795421755-2632-cbvx5 6.12.94+ #1 SMP Wed Aug 19 07:47:20 UTC 2026 aarch64 GNU/Linux`
<details><summary>CPU Details (lscpu)</summary>
```
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 kumar/null-check-statistics (227581d74c5c90ba06c26fd374c00ee9228bcf66) to 714956b (merge-base) [diff](https://github.com/apache/datafusion/compare/714956b3a8aed43e8abd27ed400710417d231982..227581d74c5c90ba06c26fd374c00ee9228bcf66)
<details><summary>Run configuration</summary>
```yaml
run benchmark tpcds
```
</details>
Results will be posted here when complete
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-5795470547
π€ Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-5795421755)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5795421755-2633-dpvr6 6.12.94+ #1 SMP Wed Aug 19 07:47:20 UTC 2026 aarch64 GNU/Linux`
<details><summary>CPU Details (lscpu)</summary>
```
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 kumar/null-check-statistics (227581d74c5c90ba06c26fd374c00ee9228bcf66) to 714956b (merge-base) [diff](https://github.com/apache/datafusion/compare/714956b3a8aed43e8abd27ed400710417d231982..227581d74c5c90ba06c26fd374c00ee9228bcf66)
<details><summary>Run configuration</summary>
```yaml
run benchmark tpch
```
</details>
Results will be posted here when complete
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "kumarUjjawal (via GitHub)" <gi...@apache.org>.
kumarUjjawal commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-5795426477
run benchmark imdb
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-5796529513
π€ Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-5795421755)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
Comparing kumar/null-check-statistics (227581d74c5c90ba06c26fd374c00ee9228bcf66) to 714956b (merge-base) [diff](https://github.com/apache/datafusion/compare/714956b3a8aed43e8abd27ed400710417d231982..227581d74c5c90ba06c26fd374c00ee9228bcf66)
<details><summary>Run configuration</summary>
```yaml
run benchmark sql_planner
```
</details>
<details><summary>CPU Details (lscpu)</summary>
```
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>
<details><summary>Details</summary>
<p>
```
group HEAD kumar_null-check-statistics
----- ---- ---------------------------
logical_aggregate_with_join 1.00 408.6Β±2.28Β΅s ? ?/sec 1.02 417.0Β±4.04Β΅s ? ?/sec
logical_correlated_subquery_exists 1.00 243.3Β±1.32Β΅s ? ?/sec 1.01 246.3Β±1.74Β΅s ? ?/sec
logical_correlated_subquery_in 1.00 246.2Β±0.64Β΅s ? ?/sec 1.01 248.4Β±0.80Β΅s ? ?/sec
logical_distinct_many_columns 1.00 331.3Β±0.98Β΅s ? ?/sec 1.01 333.6Β±0.90Β΅s ? ?/sec
logical_join_4_with_agg_and_filter 1.01 200.3Β±0.86Β΅s ? ?/sec 1.00 198.4Β±0.93Β΅s ? ?/sec
logical_join_8_with_agg_sort_limit 1.01 369.2Β±1.28Β΅s ? ?/sec 1.00 365.8Β±1.77Β΅s ? ?/sec
logical_join_chain_16 1.00 635.6Β±1.78Β΅s ? ?/sec 1.00 636.2Β±1.31Β΅s ? ?/sec
logical_join_chain_4 1.00 78.5Β±0.40Β΅s ? ?/sec 1.01 79.2Β±0.54Β΅s ? ?/sec
logical_join_chain_8 1.00 208.6Β±0.66Β΅s ? ?/sec 1.01 211.1Β±1.08Β΅s ? ?/sec
logical_multiple_subqueries 1.00 478.0Β±1.82Β΅s ? ?/sec 1.02 485.8Β±2.47Β΅s ? ?/sec
logical_nested_cte_4_levels 1.00 218.2Β±1.13Β΅s ? ?/sec 1.01 220.2Β±1.52Β΅s ? ?/sec
logical_plan_struct_join_agg_sort 1.00 129.3Β±0.94Β΅s ? ?/sec 1.02 131.5Β±0.80Β΅s ? ?/sec
logical_plan_tpcds_all 1.00 83.7Β±0.23ms ? ?/sec 1.01 84.2Β±0.30ms ? ?/sec
logical_plan_tpch_all 1.00 5.6Β±0.02ms ? ?/sec 1.01 5.6Β±0.02ms ? ?/sec
logical_scalar_subquery 1.00 266.9Β±1.50Β΅s ? ?/sec 1.01 269.1Β±1.55Β΅s ? ?/sec
logical_select_all_from_1000 1.00 8.8Β±0.05ms ? ?/sec 1.04 9.1Β±0.13ms ? ?/sec
logical_select_one_from_700 1.01 293.7Β±1.40Β΅s ? ?/sec 1.00 291.8Β±1.66Β΅s ? ?/sec
logical_trivial_join_high_numbered_columns 1.00 247.3Β±1.39Β΅s ? ?/sec 1.02 252.9Β±2.30Β΅s ? ?/sec
logical_trivial_join_low_numbered_columns 1.00 235.2Β±1.41Β΅s ? ?/sec 1.01 238.2Β±1.50Β΅s ? ?/sec
logical_union_4_branches 1.00 388.0Β±1.53Β΅s ? ?/sec 1.00 389.7Β±2.08Β΅s ? ?/sec
logical_union_8_branches 1.00 782.3Β±2.41Β΅s ? ?/sec 1.01 786.8Β±3.74Β΅s ? ?/sec
logical_wide_aggregate_100_exprs 1.00 3.9Β±0.01ms ? ?/sec 1.00 3.9Β±0.02ms ? ?/sec
logical_wide_case_50_exprs 1.00 1812.0Β±17.12Β΅s ? ?/sec 1.00 1807.6Β±6.73Β΅s ? ?/sec
logical_wide_filter_200_predicates 1.00 1311.2Β±5.71Β΅s ? ?/sec 1.01 1321.7Β±5.82Β΅s ? ?/sec
logical_wide_filter_50_predicates 1.00 360.1Β±1.36Β΅s ? ?/sec 1.01 362.4Β±1.13Β΅s ? ?/sec
optimizer_correlated_exists 1.00 225.5Β±0.51Β΅s ? ?/sec 1.00 226.6Β±0.83Β΅s ? ?/sec
optimizer_join_4_with_agg_filter 1.00 406.7Β±1.57Β΅s ? ?/sec 1.00 407.6Β±1.49Β΅s ? ?/sec
optimizer_join_chain_4 1.00 158.6Β±0.52Β΅s ? ?/sec 1.00 158.6Β±0.67Β΅s ? ?/sec
optimizer_join_chain_8 1.00 548.5Β±2.55Β΅s ? ?/sec 1.00 546.2Β±2.11Β΅s ? ?/sec
optimizer_select_all_from_1000 1.00 6.7Β±0.02ms ? ?/sec 1.00 6.8Β±0.03ms ? ?/sec
optimizer_select_one_from_700 1.00 236.0Β±1.37Β΅s ? ?/sec 1.02 240.0Β±5.17Β΅s ? ?/sec
optimizer_tpcds_all 1.00 291.7Β±0.55ms ? ?/sec 1.01 293.3Β±2.01ms ? ?/sec
optimizer_tpch_all 1.00 15.8Β±0.05ms ? ?/sec 1.00 15.9Β±0.06ms ? ?/sec
optimizer_wide_aggregate_100 1.00 1778.1Β±5.94Β΅s ? ?/sec 1.00 1779.7Β±3.43Β΅s ? ?/sec
optimizer_wide_filter_200 1.00 3.9Β±0.01ms ? ?/sec 1.01 3.9Β±0.01ms ? ?/sec
physical_intersection 1.00 566.0Β±2.32Β΅s ? ?/sec 1.00 568.0Β±2.75Β΅s ? ?/sec
physical_join_consider_sort 1.00 1033.5Β±3.47Β΅s ? ?/sec 1.00 1037.9Β±4.41Β΅s ? ?/sec
physical_join_distinct 1.00 227.1Β±1.40Β΅s ? ?/sec 1.01 229.0Β±1.37Β΅s ? ?/sec
physical_many_self_joins 1.00 7.7Β±0.04ms ? ?/sec 1.01 7.8Β±0.03ms ? ?/sec
physical_plan_clickbench_all 1.00 141.4Β±1.20ms ? ?/sec 1.00 140.8Β±1.13ms ? ?/sec
physical_plan_clickbench_q1 1.01 1363.4Β±11.11Β΅s ? ?/sec 1.00 1355.9Β±10.01Β΅s ? ?/sec
physical_plan_clickbench_q10 1.02 2.1Β±0.02ms ? ?/sec 1.00 2.0Β±0.03ms ? ?/sec
physical_plan_clickbench_q11 1.00 2.2Β±0.03ms ? ?/sec 1.00 2.2Β±0.02ms ? ?/sec
physical_plan_clickbench_q12 1.01 2.3Β±0.03ms ? ?/sec 1.00 2.3Β±0.03ms ? ?/sec
physical_plan_clickbench_q13 1.00 2.0Β±0.02ms ? ?/sec 1.00 2.0Β±0.02ms ? ?/sec
physical_plan_clickbench_q14 1.00 2.2Β±0.02ms ? ?/sec 1.01 2.2Β±0.03ms ? ?/sec
physical_plan_clickbench_q15 1.00 2.1Β±0.03ms ? ?/sec 1.02 2.1Β±0.03ms ? ?/sec
physical_plan_clickbench_q16 1.00 1783.6Β±13.06Β΅s ? ?/sec 1.01 1809.9Β±15.58Β΅s ? ?/sec
physical_plan_clickbench_q17 1.00 1836.2Β±11.99Β΅s ? ?/sec 1.01 1861.6Β±16.64Β΅s ? ?/sec
physical_plan_clickbench_q18 1.00 1637.5Β±9.22Β΅s ? ?/sec 1.02 1665.3Β±11.95Β΅s ? ?/sec
physical_plan_clickbench_q19 1.00 2.1Β±0.02ms ? ?/sec 1.02 2.1Β±0.02ms ? ?/sec
physical_plan_clickbench_q2 1.00 1737.1Β±11.46Β΅s ? ?/sec 1.01 1754.0Β±14.62Β΅s ? ?/sec
physical_plan_clickbench_q20 1.00 1513.6Β±10.97Β΅s ? ?/sec 1.02 1539.6Β±12.83Β΅s ? ?/sec
physical_plan_clickbench_q21 1.00 1719.5Β±11.96Β΅s ? ?/sec 1.02 1761.5Β±20.23Β΅s ? ?/sec
physical_plan_clickbench_q22 1.02 2.2Β±0.03ms ? ?/sec 1.00 2.2Β±0.03ms ? ?/sec
physical_plan_clickbench_q23 1.02 2.4Β±0.03ms ? ?/sec 1.00 2.3Β±0.02ms ? ?/sec
physical_plan_clickbench_q24 1.00 5.6Β±0.06ms ? ?/sec 1.00 5.6Β±0.07ms ? ?/sec
physical_plan_clickbench_q25 1.01 1914.9Β±13.67Β΅s ? ?/sec 1.00 1891.4Β±11.76Β΅s ? ?/sec
physical_plan_clickbench_q26 1.01 1762.7Β±12.72Β΅s ? ?/sec 1.00 1744.1Β±10.60Β΅s ? ?/sec
physical_plan_clickbench_q27 1.02 1951.2Β±12.01Β΅s ? ?/sec 1.00 1920.2Β±20.83Β΅s ? ?/sec
physical_plan_clickbench_q28 1.00 2.3Β±0.02ms ? ?/sec 1.01 2.3Β±0.04ms ? ?/sec
physical_plan_clickbench_q29 1.00 2.4Β±0.03ms ? ?/sec 1.01 2.5Β±0.03ms ? ?/sec
physical_plan_clickbench_q3 1.00 1625.5Β±8.40Β΅s ? ?/sec 1.01 1642.7Β±12.45Β΅s ? ?/sec
physical_plan_clickbench_q30 1.00 15.2Β±0.12ms ? ?/sec 1.01 15.4Β±0.11ms ? ?/sec
physical_plan_clickbench_q31 1.00 2.4Β±0.03ms ? ?/sec 1.01 2.5Β±0.04ms ? ?/sec
physical_plan_clickbench_q32 1.00 2.4Β±0.03ms ? ?/sec 1.01 2.4Β±0.03ms ? ?/sec
physical_plan_clickbench_q33 1.00 2.0Β±0.02ms ? ?/sec 1.01 2.1Β±0.02ms ? ?/sec
physical_plan_clickbench_q34 1.00 1789.8Β±9.72Β΅s ? ?/sec 1.02 1829.9Β±21.66Β΅s ? ?/sec
physical_plan_clickbench_q35 1.00 1832.8Β±12.73Β΅s ? ?/sec 1.01 1856.5Β±25.00Β΅s ? ?/sec
physical_plan_clickbench_q36 1.00 2.1Β±0.02ms ? ?/sec 1.00 2.1Β±0.03ms ? ?/sec
physical_plan_clickbench_q37 1.00 2.5Β±0.03ms ? ?/sec 1.00 2.5Β±0.04ms ? ?/sec
physical_plan_clickbench_q38 1.00 2.5Β±0.03ms ? ?/sec 1.00 2.5Β±0.04ms ? ?/sec
physical_plan_clickbench_q39 1.00 2.6Β±0.03ms ? ?/sec 1.01 2.6Β±0.05ms ? ?/sec
physical_plan_clickbench_q4 1.00 1464.1Β±9.56Β΅s ? ?/sec 1.01 1484.9Β±10.78Β΅s ? ?/sec
physical_plan_clickbench_q40 1.01 3.3Β±0.07ms ? ?/sec 1.00 3.2Β±0.07ms ? ?/sec
physical_plan_clickbench_q41 1.01 2.8Β±0.05ms ? ?/sec 1.00 2.8Β±0.06ms ? ?/sec
physical_plan_clickbench_q42 1.00 2.9Β±0.03ms ? ?/sec 1.00 2.9Β±0.05ms ? ?/sec
physical_plan_clickbench_q43 1.00 3.1Β±0.05ms ? ?/sec 1.01 3.1Β±0.07ms ? ?/sec
physical_plan_clickbench_q44 1.00 1543.5Β±7.91Β΅s ? ?/sec 1.01 1556.0Β±12.97Β΅s ? ?/sec
physical_plan_clickbench_q45 1.00 1553.4Β±11.98Β΅s ? ?/sec 1.01 1562.7Β±10.00Β΅s ? ?/sec
physical_plan_clickbench_q46 1.00 1862.2Β±13.22Β΅s ? ?/sec 1.01 1882.5Β±18.33Β΅s ? ?/sec
physical_plan_clickbench_q47 1.00 2.5Β±0.03ms ? ?/sec 1.01 2.5Β±0.04ms ? ?/sec
physical_plan_clickbench_q48 1.00 2.7Β±0.03ms ? ?/sec 1.01 2.7Β±0.03ms ? ?/sec
physical_plan_clickbench_q49 1.00 2.7Β±0.04ms ? ?/sec 1.01 2.8Β±0.05ms ? ?/sec
physical_plan_clickbench_q5 1.01 1617.1Β±8.64Β΅s ? ?/sec 1.00 1601.0Β±9.33Β΅s ? ?/sec
physical_plan_clickbench_q50 1.00 2.7Β±0.04ms ? ?/sec 1.02 2.7Β±0.04ms ? ?/sec
physical_plan_clickbench_q51 1.00 1970.0Β±11.28Β΅s ? ?/sec 1.01 1998.0Β±17.93Β΅s ? ?/sec
physical_plan_clickbench_q52 1.00 2.5Β±0.03ms ? ?/sec 1.01 2.5Β±0.03ms ? ?/sec
physical_plan_clickbench_q53 1.00 1754.5Β±15.63Β΅s ? ?/sec 1.01 1778.3Β±15.65Β΅s ? ?/sec
physical_plan_clickbench_q54 1.00 1753.1Β±13.26Β΅s ? ?/sec 1.01 1776.3Β±14.06Β΅s ? ?/sec
physical_plan_clickbench_q55 1.00 1699.9Β±9.94Β΅s ? ?/sec 1.01 1714.5Β±10.34Β΅s ? ?/sec
physical_plan_clickbench_q56 1.00 1698.0Β±9.20Β΅s ? ?/sec 1.01 1716.6Β±15.09Β΅s ? ?/sec
physical_plan_clickbench_q57 1.01 1838.6Β±25.10Β΅s ? ?/sec 1.00 1827.8Β±17.45Β΅s ? ?/sec
physical_plan_clickbench_q58 1.00 2.4Β±0.03ms ? ?/sec 1.00 2.4Β±0.04ms ? ?/sec
physical_plan_clickbench_q6 1.01 1623.2Β±11.91Β΅s ? ?/sec 1.00 1603.6Β±10.46Β΅s ? ?/sec
physical_plan_clickbench_q7 1.00 1445.3Β±9.85Β΅s ? ?/sec 1.00 1444.3Β±10.20Β΅s ? ?/sec
physical_plan_clickbench_q8 1.03 1969.2Β±14.08Β΅s ? ?/sec 1.00 1912.4Β±18.01Β΅s ? ?/sec
physical_plan_clickbench_q9 1.03 1974.2Β±13.66Β΅s ? ?/sec 1.00 1917.5Β±10.70Β΅s ? ?/sec
physical_plan_struct_join_agg_sort 1.00 1247.3Β±3.54Β΅s ? ?/sec 1.00 1246.3Β±3.15Β΅s ? ?/sec
physical_plan_tpcds_all 1.00 667.4Β±2.42ms ? ?/sec 1.01 672.3Β±2.02ms ? ?/sec
physical_plan_tpch_all 1.00 42.6Β±0.24ms ? ?/sec 1.01 43.1Β±0.25ms ? ?/sec
physical_plan_tpch_q1 1.00 1424.3Β±3.72Β΅s ? ?/sec 1.00 1417.3Β±3.07Β΅s ? ?/sec
physical_plan_tpch_q10 1.00 2.6Β±0.01ms ? ?/sec 1.01 2.6Β±0.01ms ? ?/sec
physical_plan_tpch_q11 1.00 2.2Β±0.01ms ? ?/sec 1.01 2.2Β±0.01ms ? ?/sec
physical_plan_tpch_q12 1.00 1229.8Β±2.84Β΅s ? ?/sec 1.02 1249.3Β±3.47Β΅s ? ?/sec
physical_plan_tpch_q13 1.00 1011.7Β±1.99Β΅s ? ?/sec 1.02 1034.9Β±2.34Β΅s ? ?/sec
physical_plan_tpch_q14 1.00 1310.1Β±10.69Β΅s ? ?/sec 1.03 1350.4Β±3.93Β΅s ? ?/sec
physical_plan_tpch_q16 1.00 1610.8Β±12.20Β΅s ? ?/sec 1.02 1639.0Β±5.28Β΅s ? ?/sec
physical_plan_tpch_q17 1.00 1593.0Β±4.22Β΅s ? ?/sec 1.02 1629.3Β±5.99Β΅s ? ?/sec
physical_plan_tpch_q18 1.00 1899.9Β±4.57Β΅s ? ?/sec 1.02 1936.6Β±5.65Β΅s ? ?/sec
physical_plan_tpch_q19 1.00 1805.7Β±5.02Β΅s ? ?/sec 1.01 1826.4Β±6.04Β΅s ? ?/sec
physical_plan_tpch_q2 1.00 3.5Β±0.02ms ? ?/sec 1.00 3.5Β±0.02ms ? ?/sec
physical_plan_tpch_q20 1.00 2.1Β±0.02ms ? ?/sec 1.00 2.1Β±0.01ms ? ?/sec
physical_plan_tpch_q21 1.00 2.7Β±0.01ms ? ?/sec 1.01 2.7Β±0.01ms ? ?/sec
physical_plan_tpch_q22 1.00 1455.4Β±6.10Β΅s ? ?/sec 1.03 1496.0Β±5.39Β΅s ? ?/sec
physical_plan_tpch_q3 1.00 1764.1Β±5.16Β΅s ? ?/sec 1.00 1761.7Β±4.34Β΅s ? ?/sec
physical_plan_tpch_q4 1.01 1116.9Β±4.85Β΅s ? ?/sec 1.00 1111.0Β±2.39Β΅s ? ?/sec
physical_plan_tpch_q5 1.00 2.5Β±0.01ms ? ?/sec 1.00 2.5Β±0.01ms ? ?/sec
physical_plan_tpch_q6 1.00 574.3Β±2.28Β΅s ? ?/sec 1.00 572.9Β±1.75Β΅s ? ?/sec
physical_plan_tpch_q7 1.00 2.7Β±0.01ms ? ?/sec 1.00 2.7Β±0.01ms ? ?/sec
physical_plan_tpch_q8 1.00 3.6Β±0.02ms ? ?/sec 1.02 3.7Β±0.03ms ? ?/sec
physical_plan_tpch_q9 1.00 2.6Β±0.01ms ? ?/sec 1.02 2.7Β±0.02ms ? ?/sec
physical_select_aggregates_from_200 1.00 12.4Β±0.05ms ? ?/sec 1.00 12.5Β±0.05ms ? ?/sec
physical_select_all_from_1000 1.00 19.8Β±0.08ms ? ?/sec 1.02 20.2Β±0.05ms ? ?/sec
physical_select_one_from_700 1.00 736.4Β±3.56Β΅s ? ?/sec 1.00 738.0Β±2.15Β΅s ? ?/sec
physical_sorted_union_order_by_10_int64 1.00 3.8Β±0.02ms ? ?/sec 1.00 3.8Β±0.01ms ? ?/sec
physical_sorted_union_order_by_10_uint64 1.00 7.5Β±0.05ms ? ?/sec 1.00 7.5Β±0.06ms ? ?/sec
physical_sorted_union_order_by_50_int64 1.00 84.6Β±0.37ms ? ?/sec 1.00 84.7Β±0.57ms ? ?/sec
physical_sorted_union_order_by_50_uint64 1.00 302.7Β±1.41ms ? ?/sec 1.00 303.0Β±1.55ms ? ?/sec
physical_theta_join_consider_sort 1.00 1060.9Β±4.19Β΅s ? ?/sec 1.00 1060.8Β±2.98Β΅s ? ?/sec
physical_unnest_to_join 1.00 616.3Β±1.35Β΅s ? ?/sec 1.00 615.0Β±3.11Β΅s ? ?/sec
physical_window_function_partition_by_12_on_values 1.00 656.3Β±1.56Β΅s ? ?/sec 1.01 662.4Β±1.61Β΅s ? ?/sec
physical_window_function_partition_by_30_on_values 1.01 1324.6Β±6.97Β΅s ? ?/sec 1.00 1311.6Β±1.68Β΅s ? ?/sec
physical_window_function_partition_by_4_on_values 1.00 404.0Β±1.41Β΅s ? ?/sec 1.00 403.7Β±1.20Β΅s ? ?/sec
physical_window_function_partition_by_7_on_values 1.00 498.5Β±1.89Β΅s ? ?/sec 1.00 497.4Β±1.57Β΅s ? ?/sec
physical_window_function_partition_by_8_on_values 1.00 527.3Β±1.39Β΅s ? ?/sec 1.01 533.8Β±1.46Β΅s ? ?/sec
with_param_values_many_columns 1.00 433.0Β±2.25Β΅s ? ?/sec 1.02 442.1Β±2.20Β΅s ? ?/sec
```
</p>
</details>
<details><summary>Resource Usage</summary>
**sql_planner β base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 2005.5s |
| Peak memory | 141.9 MiB |
| Avg memory | 92.1 MiB |
| CPU user | 1961.4s |
| CPU sys | 1.5s |
| Peak spill | 0 B |
**sql_planner β branch**
| Metric | Value |
|--------|-------|
| Wall time | 1930.5s |
| Peak memory | 137.1 MiB |
| Avg memory | 92.1 MiB |
| CPU user | 1959.4s |
| CPU sys | 1.5s |
| Peak spill | 0 B |
</details>
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-6342281244
π€ Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-6342213186)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c6342213186-3757-kjs88 6.12.94+ #1 SMP Fri Aug 21 08:00:16 UTC 2026 aarch64 GNU/Linux`
<details><summary>CPU Details (lscpu)</summary>
```
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 kumar/null-check-statistics (584bc64051b5dc42cc83aa5d987e3648748f21df) to 2717e25 (merge-base) [diff](https://github.com/apache/datafusion/compare/2717e25625ff0c51c1805f8df52d317979db74ec..584bc64051b5dc42cc83aa5d987e3648748f21df)
<details><summary>Run configuration</summary>
```yaml
run benchmark tpch
```
</details>
Results will be posted here when complete
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-5795744320
π€ Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-5795421755)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
Comparing kumar/null-check-statistics (227581d74c5c90ba06c26fd374c00ee9228bcf66) to 714956b (merge-base) [diff](https://github.com/apache/datafusion/compare/714956b3a8aed43e8abd27ed400710417d231982..227581d74c5c90ba06c26fd374c00ee9228bcf66)
<details><summary>Run configuration</summary>
```yaml
run benchmark compute_statistics
```
</details>
<details><summary>CPU Details (lscpu)</summary>
```
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>
<details><summary>Details</summary>
<p>
```
group HEAD kumar_null-check-statistics
----- ---- ---------------------------
compute_statistics_coalesce_chain/cached/10 1.00 2.1Β±0.03Β΅s ? ?/sec 1.01 2.1Β±0.02Β΅s ? ?/sec
compute_statistics_coalesce_chain/cached/20 1.00 5.7Β±0.04Β΅s ? ?/sec 1.02 5.8Β±0.05Β΅s ? ?/sec
compute_statistics_coalesce_chain/cached/50 1.00 15.4Β±0.12Β΅s ? ?/sec 1.00 15.3Β±0.12Β΅s ? ?/sec
compute_statistics_coalesce_chain/no_shared_cache/10 1.01 14.7Β±0.13Β΅s ? ?/sec 1.00 14.6Β±0.12Β΅s ? ?/sec
compute_statistics_coalesce_chain/no_shared_cache/20 1.00 59.1Β±0.43Β΅s ? ?/sec 1.02 60.1Β±0.43Β΅s ? ?/sec
compute_statistics_coalesce_chain/no_shared_cache/50 1.00 389.9Β±2.82Β΅s ? ?/sec 1.00 390.7Β±2.95Β΅s ? ?/sec
compute_statistics_cross_join_tree/cached/depth=3_leaves=8 1.03 4.8Β±0.01Β΅s ? ?/sec 1.00 4.7Β±0.01Β΅s ? ?/sec
compute_statistics_cross_join_tree/cached/depth=5_leaves=32 1.00 25.8Β±0.08Β΅s ? ?/sec 1.00 25.8Β±0.05Β΅s ? ?/sec
compute_statistics_cross_join_tree/cached/depth=7_leaves=128 1.00 114.6Β±0.25Β΅s ? ?/sec 1.00 114.2Β±0.22Β΅s ? ?/sec
compute_statistics_cross_join_tree/no_shared_cache/depth=3_leaves=8 1.00 11.6Β±0.03Β΅s ? ?/sec 1.01 11.7Β±0.03Β΅s ? ?/sec
compute_statistics_cross_join_tree/no_shared_cache/depth=5_leaves=32 1.00 96.7Β±0.21Β΅s ? ?/sec 1.00 96.3Β±0.18Β΅s ? ?/sec
compute_statistics_cross_join_tree/no_shared_cache/depth=7_leaves=128 1.00 612.6Β±0.91Β΅s ? ?/sec 1.00 614.4Β±1.08Β΅s ? ?/sec
compute_statistics_filter_chain/cached_overall/10 1.00 4.2Β±0.01Β΅s ? ?/sec 1.07 4.5Β±0.04Β΅s ? ?/sec
compute_statistics_filter_chain/cached_overall/20 1.00 8.9Β±0.02Β΅s ? ?/sec 1.06 9.4Β±0.06Β΅s ? ?/sec
compute_statistics_filter_chain/cached_overall/50 1.00 22.8Β±0.10Β΅s ? ?/sec 1.05 23.9Β±0.14Β΅s ? ?/sec
compute_statistics_filter_chain/cached_partition/10 1.00 4.5Β±0.01Β΅s ? ?/sec 1.05 4.7Β±0.03Β΅s ? ?/sec
compute_statistics_filter_chain/cached_partition/20 1.00 9.2Β±0.02Β΅s ? ?/sec 1.06 9.8Β±0.05Β΅s ? ?/sec
compute_statistics_filter_chain/cached_partition/50 1.00 23.6Β±0.08Β΅s ? ?/sec 1.05 24.7Β±0.10Β΅s ? ?/sec
compute_statistics_filter_chain/no_shared_cache/10 1.00 24.1Β±0.06Β΅s ? ?/sec 1.06 25.5Β±0.12Β΅s ? ?/sec
compute_statistics_filter_chain/no_shared_cache/20 1.00 94.0Β±0.20Β΅s ? ?/sec 1.06 99.7Β±0.44Β΅s ? ?/sec
compute_statistics_filter_chain/no_shared_cache/50 1.00 587.0Β±1.71Β΅s ? ?/sec 1.06 619.5Β±2.01Β΅s ? ?/sec
compute_statistics_mixed_chain/cached/15 1.00 6.0Β±0.02Β΅s ? ?/sec 1.05 6.3Β±0.02Β΅s ? ?/sec
compute_statistics_mixed_chain/cached/30 1.00 12.6Β±0.07Β΅s ? ?/sec 1.04 13.0Β±0.03Β΅s ? ?/sec
compute_statistics_mixed_chain/cached/9 1.00 3.5Β±0.02Β΅s ? ?/sec 1.05 3.7Β±0.01Β΅s ? ?/sec
compute_statistics_mixed_chain/no_shared_cache/15 1.00 47.5Β±0.19Β΅s ? ?/sec 1.07 50.8Β±0.12Β΅s ? ?/sec
compute_statistics_mixed_chain/no_shared_cache/30 1.00 188.3Β±0.80Β΅s ? ?/sec 1.05 196.9Β±0.23Β΅s ? ?/sec
compute_statistics_mixed_chain/no_shared_cache/9 1.00 17.9Β±0.08Β΅s ? ?/sec 1.05 18.8Β±0.04Β΅s ? ?/sec
```
</p>
</details>
<details><summary>Resource Usage</summary>
**compute_statistics β base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 525.1s |
| Peak memory | 33.9 MiB |
| Avg memory | 14.7 MiB |
| CPU user | 320.3s |
| CPU sys | 0.3s |
| Peak spill | 0 B |
**compute_statistics β branch**
| Metric | Value |
|--------|-------|
| Wall time | 510.1s |
| Peak memory | 36.1 MiB |
| Avg memory | 16.2 MiB |
| CPU user | 318.9s |
| CPU sys | 0.3s |
| Peak spill | 0 B |
</details>
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-5795475504
π€ Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-5795421755)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5795421755-2635-lt2xl 6.12.94+ #1 SMP Wed Aug 19 07:47:20 UTC 2026 aarch64 GNU/Linux`
<details><summary>CPU Details (lscpu)</summary>
```
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 kumar/null-check-statistics (227581d74c5c90ba06c26fd374c00ee9228bcf66) to 714956b (merge-base) [diff](https://github.com/apache/datafusion/compare/714956b3a8aed43e8abd27ed400710417d231982..227581d74c5c90ba06c26fd374c00ee9228bcf66)
<details><summary>Run configuration</summary>
```yaml
run benchmark compute_statistics
```
</details>
Results will be posted here when complete
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-6342479594
π€ Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-6342213186)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
Comparing kumar/null-check-statistics (584bc64051b5dc42cc83aa5d987e3648748f21df) to 2717e25 (merge-base) [diff](https://github.com/apache/datafusion/compare/2717e25625ff0c51c1805f8df52d317979db74ec..584bc64051b5dc42cc83aa5d987e3648748f21df)
<details><summary>Run configuration</summary>
```yaml
run benchmark tpcds
```
</details>
<details><summary>CPU Details (lscpu)</summary>
```
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>
<details><summary>Details</summary>
<p>
```
Comparing HEAD and kumar_null-check-statistics
--------------------
Benchmark tpcds_sf1.json
--------------------
βββββββββββββ³βββββββββββββ³ββββββββββββββββββββββββββββββ³ββββββββββββββββ
β Query β HEAD β kumar_null-check-statistics β Change β
β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β QQuery 1 β 5.41 ms β 5.58 ms β no change β
β QQuery 2 β 80.64 ms β 80.63 ms β no change β
β QQuery 3 β 28.86 ms β 28.61 ms β no change β
β QQuery 4 β 443.54 ms β 443.54 ms β no change β
β QQuery 5 β 49.92 ms β 49.58 ms β no change β
β QQuery 6 β 35.19 ms β 34.80 ms β no change β
β QQuery 7 β 71.38 ms β 71.50 ms β no change β
β QQuery 8 β 35.90 ms β 35.60 ms β no change β
β QQuery 9 β 50.30 ms β 50.89 ms β no change β
β QQuery 10 β 59.92 ms β 59.22 ms β no change β
β QQuery 11 β 273.39 ms β 271.59 ms β no change β
β QQuery 12 β 28.37 ms β 28.04 ms β no change β
β QQuery 13 β 113.14 ms β 112.01 ms β no change β
β QQuery 14 β 382.56 ms β 386.37 ms β no change β
β QQuery 15 β 54.92 ms β 53.30 ms β no change β
β QQuery 16 β 6.18 ms β 5.95 ms β no change β
β QQuery 17 β 79.07 ms β 77.74 ms β no change β
β QQuery 18 β 103.43 ms β 103.78 ms β no change β
β QQuery 19 β 40.62 ms β 41.37 ms β no change β
β QQuery 20 β 35.64 ms β 35.35 ms β no change β
β QQuery 21 β 16.64 ms β 16.73 ms β no change β
β QQuery 22 β 62.63 ms β 63.82 ms β no change β
β QQuery 23 β 304.24 ms β 299.21 ms β no change β
β QQuery 24 β 196.33 ms β 186.39 ms β +1.05x faster β
β QQuery 25 β 106.57 ms β 105.29 ms β no change β
β QQuery 26 β 45.08 ms β 44.40 ms β no change β
β QQuery 27 β 5.72 ms β 5.57 ms β no change β
β QQuery 28 β 56.17 ms β 55.76 ms β no change β
β QQuery 29 β 95.06 ms β 94.56 ms β no change β
β QQuery 30 β 32.39 ms β 31.55 ms β no change β
β QQuery 31 β 107.28 ms β 106.33 ms β no change β
β QQuery 32 β 20.53 ms β 20.65 ms β no change β
β QQuery 33 β 36.37 ms β 36.16 ms β no change β
β QQuery 34 β 9.93 ms β 9.98 ms β no change β
β QQuery 35 β 72.57 ms β 70.00 ms β no change β
β QQuery 36 β 5.92 ms β 5.53 ms β +1.07x faster β
β QQuery 37 β 6.97 ms β 6.57 ms β +1.06x faster β
β QQuery 38 β 62.11 ms β 60.00 ms β no change β
β QQuery 39 β 74.71 ms β 71.53 ms β no change β
β QQuery 40 β 23.94 ms β 22.67 ms β +1.06x faster β
β QQuery 41 β 12.44 ms β 11.98 ms β no change β
β QQuery 42 β 23.94 ms β 24.11 ms β no change β
β QQuery 43 β 4.68 ms β 4.74 ms β no change β
β QQuery 44 β 8.54 ms β 8.63 ms β no change β
β QQuery 45 β 38.18 ms β 38.47 ms β no change β
β QQuery 46 β 11.79 ms β 11.59 ms β no change β
β QQuery 47 β 237.12 ms β 230.08 ms β no change β
β QQuery 48 β 90.76 ms β 90.10 ms β no change β
β QQuery 49 β 69.95 ms β 69.26 ms β no change β
β QQuery 50 β 58.08 ms β 57.24 ms β no change β
β QQuery 51 β 92.49 ms β 92.73 ms β no change β
β QQuery 52 β 23.87 ms β 24.01 ms β no change β
β QQuery 53 β 29.13 ms β 29.07 ms β no change β
β QQuery 54 β 52.94 ms β 52.30 ms β no change β
β QQuery 55 β 23.54 ms β 23.26 ms β no change β
β QQuery 56 β 37.83 ms β 36.90 ms β no change β
β QQuery 57 β 166.73 ms β 166.00 ms β no change β
β QQuery 58 β 106.66 ms β 107.59 ms β no change β
β QQuery 59 β 115.54 ms β 114.59 ms β no change β
β QQuery 60 β 38.03 ms β 37.24 ms β no change β
β QQuery 61 β 10.78 ms β 10.22 ms β +1.06x faster β
β QQuery 62 β 43.71 ms β 43.34 ms β no change β
β QQuery 63 β 28.97 ms β 28.98 ms β no change β
β QQuery 64 β 353.34 ms β 353.72 ms β no change β
β QQuery 65 β 126.08 ms β 128.44 ms β no change β
β QQuery 66 β 74.92 ms β 74.21 ms β no change β
β QQuery 67 β 245.87 ms β 243.51 ms β no change β
β QQuery 68 β 11.81 ms β 11.62 ms β no change β
β QQuery 69 β 55.06 ms β 55.14 ms β no change β
β QQuery 70 β 102.73 ms β 102.86 ms β no change β
β QQuery 71 β 34.15 ms β 34.26 ms β no change β
β QQuery 72 β 1555.80 ms β 1535.44 ms β no change β
β QQuery 73 β 9.58 ms β 9.36 ms β no change β
β QQuery 74 β 159.36 ms β 151.99 ms β no change β
β QQuery 75 β 138.62 ms β 138.39 ms β no change β
β QQuery 76 β 33.65 ms β 32.93 ms β no change β
β QQuery 77 β 59.21 ms β 58.18 ms β no change β
β QQuery 78 β 158.40 ms β 263.18 ms β 1.66x slower β
β QQuery 79 β 65.41 ms β 66.05 ms β no change β
β QQuery 80 β 93.27 ms β 92.99 ms β no change β
β QQuery 81 β 25.18 ms β 24.77 ms β no change β
β QQuery 82 β 16.14 ms β 16.10 ms β no change β
β QQuery 83 β 32.44 ms β 31.84 ms β no change β
β QQuery 84 β 29.71 ms β 29.11 ms β no change β
β QQuery 85 β 97.18 ms β 97.22 ms β no change β
β QQuery 86 β 25.18 ms β 24.76 ms β no change β
β QQuery 87 β 61.81 ms β 60.72 ms β no change β
β QQuery 88 β 58.79 ms β 58.68 ms β no change β
β QQuery 89 β 35.05 ms β 35.09 ms β no change β
β QQuery 90 β 16.71 ms β 16.45 ms β no change β
β QQuery 91 β 41.22 ms β 41.04 ms β no change β
β QQuery 92 β 29.39 ms β 30.07 ms β no change β
β QQuery 93 β 49.15 ms β 48.72 ms β no change β
β QQuery 94 β 38.23 ms β 37.76 ms β no change β
β QQuery 95 β 80.26 ms β 78.47 ms β no change β
β QQuery 96 β 23.63 ms β 23.46 ms β no change β
β QQuery 97 β 51.36 ms β 49.46 ms β no change β
β QQuery 98 β 42.61 ms β 41.47 ms β no change β
β QQuery 99 β 65.13 ms β 64.97 ms β no change β
βββββββββββββ΄βββββββββββββ΄ββββββββββββββββββββββββββββββ΄ββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββ³ββββββββββββ
β Benchmark Summary β β
β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β Total Time (HEAD) β 8741.68ms β
β Total Time (kumar_null-check-statistics) β 8763.09ms β
β Average Time (HEAD) β 88.30ms β
β Average Time (kumar_null-check-statistics) β 88.52ms β
β Queries Faster β 5 β
β Queries Slower β 1 β
β Queries with No Change β 93 β
β Queries with Failure β 0 β
ββββββββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββ
Distribution per query (min / mean Β±stddev / max):
Comparing HEAD and kumar_null-check-statistics
--------------------
Benchmark tpcds_sf1.json
--------------------
βββββββββββββ³ββββββββββββββββββββββββββββββββββββββββ³ββββββββββββββββββββββββββββββββββββββββ³ββββββββββββββββ
β Query β HEAD β kumar_null-check-statistics β Change β
β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β QQuery 1 β 5.41 / 5.98 Β±0.96 / 7.89 ms β 5.58 / 6.15 Β±0.98 / 8.12 ms β no change β
β QQuery 2 β 80.64 / 81.00 Β±0.37 / 81.67 ms β 80.63 / 80.98 Β±0.19 / 81.18 ms β no change β
β QQuery 3 β 28.86 / 29.38 Β±0.66 / 30.69 ms β 28.61 / 28.91 Β±0.21 / 29.24 ms β no change β
β QQuery 4 β 443.54 / 459.00 Β±10.50 / 476.19 ms β 443.54 / 454.27 Β±6.81 / 461.90 ms β no change β
β QQuery 5 β 49.92 / 50.45 Β±0.69 / 51.80 ms β 49.58 / 51.83 Β±2.64 / 56.68 ms β no change β
β QQuery 6 β 35.19 / 35.47 Β±0.23 / 35.77 ms β 34.80 / 35.51 Β±0.38 / 35.87 ms β no change β
β QQuery 7 β 71.38 / 71.89 Β±0.34 / 72.26 ms β 71.50 / 72.28 Β±0.65 / 73.02 ms β no change β
β QQuery 8 β 35.90 / 36.14 Β±0.22 / 36.54 ms β 35.60 / 36.19 Β±0.41 / 36.68 ms β no change β
β QQuery 9 β 50.30 / 54.59 Β±4.36 / 62.43 ms β 50.89 / 52.95 Β±1.78 / 55.48 ms β no change β
β QQuery 10 β 59.92 / 60.28 Β±0.25 / 60.64 ms β 59.22 / 60.06 Β±0.49 / 60.52 ms β no change β
β QQuery 11 β 273.39 / 276.04 Β±2.66 / 280.87 ms β 271.59 / 275.61 Β±3.43 / 281.78 ms β no change β
β QQuery 12 β 28.37 / 28.85 Β±0.32 / 29.25 ms β 28.04 / 28.33 Β±0.15 / 28.47 ms β no change β
β QQuery 13 β 113.14 / 114.42 Β±0.82 / 115.39 ms β 112.01 / 113.54 Β±1.47 / 116.21 ms β no change β
β QQuery 14 β 382.56 / 386.38 Β±3.26 / 391.57 ms β 386.37 / 388.48 Β±2.19 / 391.65 ms β no change β
β QQuery 15 β 54.92 / 55.60 Β±0.68 / 56.54 ms β 53.30 / 53.86 Β±0.46 / 54.50 ms β no change β
β QQuery 16 β 6.18 / 6.28 Β±0.18 / 6.64 ms β 5.95 / 6.09 Β±0.23 / 6.54 ms β no change β
β QQuery 17 β 79.07 / 80.11 Β±1.35 / 82.74 ms β 77.74 / 78.81 Β±0.80 / 79.93 ms β no change β
β QQuery 18 β 103.43 / 104.78 Β±0.89 / 105.87 ms β 103.78 / 105.14 Β±1.28 / 107.17 ms β no change β
β QQuery 19 β 40.62 / 41.16 Β±0.36 / 41.57 ms β 41.37 / 41.80 Β±0.30 / 42.29 ms β no change β
β QQuery 20 β 35.64 / 36.05 Β±0.30 / 36.53 ms β 35.35 / 36.14 Β±1.15 / 38.41 ms β no change β
β QQuery 21 β 16.64 / 16.93 Β±0.22 / 17.20 ms β 16.73 / 17.03 Β±0.22 / 17.38 ms β no change β
β QQuery 22 β 62.63 / 63.49 Β±0.60 / 64.26 ms β 63.82 / 64.74 Β±0.82 / 65.78 ms β no change β
β QQuery 23 β 304.24 / 314.87 Β±7.93 / 327.32 ms β 299.21 / 305.36 Β±4.34 / 311.92 ms β no change β
β QQuery 24 β 196.33 / 204.06 Β±5.98 / 212.98 ms β 186.39 / 190.05 Β±5.07 / 200.08 ms β +1.07x faster β
β QQuery 25 β 106.57 / 108.66 Β±1.17 / 110.02 ms β 105.29 / 106.84 Β±1.48 / 109.14 ms β no change β
β QQuery 26 β 45.08 / 45.27 Β±0.27 / 45.78 ms β 44.40 / 46.10 Β±2.63 / 51.32 ms β no change β
β QQuery 27 β 5.72 / 5.98 Β±0.28 / 6.50 ms β 5.57 / 5.72 Β±0.13 / 5.90 ms β no change β
β QQuery 28 β 56.17 / 59.78 Β±1.83 / 61.27 ms β 55.76 / 59.62 Β±1.96 / 61.28 ms β no change β
β QQuery 29 β 95.06 / 97.84 Β±3.10 / 103.72 ms β 94.56 / 95.84 Β±1.46 / 98.56 ms β no change β
β QQuery 30 β 32.39 / 32.74 Β±0.32 / 33.21 ms β 31.55 / 33.17 Β±2.13 / 37.36 ms β no change β
β QQuery 31 β 107.28 / 108.90 Β±1.21 / 111.04 ms β 106.33 / 108.48 Β±1.23 / 109.59 ms β no change β
β QQuery 32 β 20.53 / 21.17 Β±0.60 / 22.13 ms β 20.65 / 21.00 Β±0.22 / 21.32 ms β no change β
β QQuery 33 β 36.37 / 37.02 Β±0.46 / 37.82 ms β 36.16 / 36.79 Β±0.52 / 37.75 ms β no change β
β QQuery 34 β 9.93 / 10.14 Β±0.16 / 10.41 ms β 9.98 / 10.21 Β±0.15 / 10.38 ms β no change β
β QQuery 35 β 72.57 / 73.52 Β±0.96 / 75.32 ms β 70.00 / 72.10 Β±2.69 / 77.31 ms β no change β
β QQuery 36 β 5.92 / 6.13 Β±0.16 / 6.38 ms β 5.53 / 5.71 Β±0.24 / 6.19 ms β +1.07x faster β
β QQuery 37 β 6.97 / 7.11 Β±0.14 / 7.30 ms β 6.57 / 6.72 Β±0.12 / 6.84 ms β +1.06x faster β
β QQuery 38 β 62.11 / 63.24 Β±0.73 / 63.97 ms β 60.00 / 60.60 Β±0.65 / 61.81 ms β no change β
β QQuery 39 β 74.71 / 76.49 Β±2.73 / 81.85 ms β 71.53 / 73.33 Β±2.52 / 78.30 ms β no change β
β QQuery 40 β 23.94 / 24.62 Β±0.91 / 26.43 ms β 22.67 / 23.14 Β±0.32 / 23.55 ms β +1.06x faster β
β QQuery 41 β 12.44 / 12.63 Β±0.11 / 12.77 ms β 11.98 / 12.28 Β±0.24 / 12.54 ms β no change β
β QQuery 42 β 23.94 / 24.28 Β±0.34 / 24.72 ms β 24.11 / 24.46 Β±0.36 / 24.99 ms β no change β
β QQuery 43 β 4.68 / 4.94 Β±0.43 / 5.80 ms β 4.74 / 4.90 Β±0.22 / 5.34 ms β no change β
β QQuery 44 β 8.54 / 8.76 Β±0.18 / 9.03 ms β 8.63 / 8.81 Β±0.13 / 8.97 ms β no change β
β QQuery 45 β 38.18 / 38.70 Β±0.54 / 39.66 ms β 38.47 / 40.06 Β±1.06 / 41.54 ms β no change β
β QQuery 46 β 11.79 / 11.96 Β±0.12 / 12.13 ms β 11.59 / 12.05 Β±0.25 / 12.34 ms β no change β
β QQuery 47 β 237.12 / 239.70 Β±4.22 / 248.09 ms β 230.08 / 235.10 Β±3.73 / 239.79 ms β no change β
β QQuery 48 β 90.76 / 91.27 Β±0.46 / 91.92 ms β 90.10 / 91.30 Β±1.36 / 93.75 ms β no change β
β QQuery 49 β 69.95 / 71.19 Β±1.19 / 73.38 ms β 69.26 / 70.91 Β±1.55 / 73.45 ms β no change β
β QQuery 50 β 58.08 / 60.01 Β±2.34 / 64.02 ms β 57.24 / 57.76 Β±0.50 / 58.67 ms β no change β
β QQuery 51 β 92.49 / 94.18 Β±1.19 / 95.50 ms β 92.73 / 95.16 Β±1.76 / 97.95 ms β no change β
β QQuery 52 β 23.87 / 24.23 Β±0.26 / 24.59 ms β 24.01 / 24.20 Β±0.23 / 24.64 ms β no change β
β QQuery 53 β 29.13 / 29.58 Β±0.69 / 30.96 ms β 29.07 / 29.23 Β±0.12 / 29.43 ms β no change β
β QQuery 54 β 52.94 / 55.16 Β±2.79 / 60.66 ms β 52.30 / 52.88 Β±0.36 / 53.38 ms β no change β
β QQuery 55 β 23.54 / 23.73 Β±0.25 / 24.21 ms β 23.26 / 24.65 Β±2.24 / 29.11 ms β no change β
β QQuery 56 β 37.83 / 38.37 Β±0.62 / 39.54 ms β 36.90 / 37.46 Β±0.57 / 38.54 ms β no change β
β QQuery 57 β 166.73 / 168.71 Β±1.78 / 171.47 ms β 166.00 / 168.31 Β±2.29 / 172.70 ms β no change β
β QQuery 58 β 106.66 / 108.31 Β±1.39 / 110.65 ms β 107.59 / 108.35 Β±0.88 / 109.84 ms β no change β
β QQuery 59 β 115.54 / 116.78 Β±1.20 / 119.07 ms β 114.59 / 116.11 Β±1.96 / 119.89 ms β no change β
β QQuery 60 β 38.03 / 38.64 Β±0.64 / 39.76 ms β 37.24 / 37.85 Β±0.43 / 38.57 ms β no change β
β QQuery 61 β 10.78 / 10.97 Β±0.25 / 11.44 ms β 10.22 / 10.41 Β±0.24 / 10.88 ms β +1.05x faster β
β QQuery 62 β 43.71 / 44.08 Β±0.32 / 44.55 ms β 43.34 / 44.12 Β±1.14 / 46.39 ms β no change β
β QQuery 63 β 28.97 / 30.40 Β±2.49 / 35.38 ms β 28.98 / 29.14 Β±0.16 / 29.41 ms β no change β
β QQuery 64 β 353.34 / 355.59 Β±1.29 / 356.80 ms β 353.72 / 356.50 Β±3.37 / 363.05 ms β no change β
β QQuery 65 β 126.08 / 128.83 Β±1.99 / 131.28 ms β 128.44 / 132.78 Β±3.80 / 139.31 ms β no change β
β QQuery 66 β 74.92 / 76.00 Β±1.41 / 78.79 ms β 74.21 / 74.65 Β±0.35 / 75.07 ms β no change β
β QQuery 67 β 245.87 / 250.46 Β±2.80 / 254.63 ms β 243.51 / 245.22 Β±2.13 / 249.28 ms β no change β
β QQuery 68 β 11.81 / 11.97 Β±0.16 / 12.25 ms β 11.62 / 13.44 Β±3.41 / 20.26 ms β 1.12x slower β
β QQuery 69 β 55.06 / 56.00 Β±1.01 / 57.92 ms β 55.14 / 55.47 Β±0.31 / 55.84 ms β no change β
β QQuery 70 β 102.73 / 106.83 Β±3.98 / 113.70 ms β 102.86 / 105.03 Β±1.34 / 106.54 ms β no change β
β QQuery 71 β 34.15 / 34.69 Β±0.42 / 35.17 ms β 34.26 / 35.57 Β±2.04 / 39.58 ms β no change β
β QQuery 72 β 1555.80 / 1632.67 Β±65.64 / 1712.67 ms β 1535.44 / 1611.66 Β±41.68 / 1650.90 ms β no change β
β QQuery 73 β 9.58 / 9.89 Β±0.22 / 10.25 ms β 9.36 / 9.93 Β±0.36 / 10.40 ms β no change β
β QQuery 74 β 159.36 / 163.19 Β±3.81 / 170.36 ms β 151.99 / 154.72 Β±2.47 / 159.24 ms β +1.05x faster β
β QQuery 75 β 138.62 / 139.65 Β±1.45 / 142.49 ms β 138.39 / 140.92 Β±2.14 / 143.85 ms β no change β
β QQuery 76 β 33.65 / 35.01 Β±1.45 / 37.77 ms β 32.93 / 33.99 Β±0.62 / 34.86 ms β no change β
β QQuery 77 β 59.21 / 59.95 Β±0.81 / 61.42 ms β 58.18 / 58.41 Β±0.15 / 58.59 ms β no change β
β QQuery 78 β 158.40 / 165.92 Β±5.81 / 173.44 ms β 263.18 / 281.71 Β±15.05 / 300.69 ms β 1.70x slower β
β QQuery 79 β 65.41 / 67.29 Β±2.49 / 72.22 ms β 66.05 / 69.73 Β±5.97 / 81.55 ms β no change β
β QQuery 80 β 93.27 / 94.59 Β±0.85 / 95.68 ms β 92.99 / 94.60 Β±1.60 / 97.37 ms β no change β
β QQuery 81 β 25.18 / 26.55 Β±2.30 / 31.14 ms β 24.77 / 25.16 Β±0.28 / 25.59 ms β +1.06x faster β
β QQuery 82 β 16.14 / 16.67 Β±0.32 / 17.04 ms β 16.10 / 16.50 Β±0.24 / 16.82 ms β no change β
β QQuery 83 β 32.44 / 32.94 Β±0.28 / 33.25 ms β 31.84 / 33.11 Β±1.80 / 36.69 ms β no change β
β QQuery 84 β 29.71 / 30.70 Β±0.99 / 32.28 ms β 29.11 / 30.21 Β±1.55 / 33.26 ms β no change β
β QQuery 85 β 97.18 / 97.75 Β±0.34 / 98.18 ms β 97.22 / 99.13 Β±1.80 / 101.97 ms β no change β
β QQuery 86 β 25.18 / 26.83 Β±1.98 / 30.64 ms β 24.76 / 25.35 Β±0.35 / 25.85 ms β +1.06x faster β
β QQuery 87 β 61.81 / 63.44 Β±2.22 / 67.68 ms β 60.72 / 61.74 Β±0.82 / 62.85 ms β no change β
β QQuery 88 β 58.79 / 59.41 Β±0.65 / 60.61 ms β 58.68 / 59.57 Β±0.51 / 60.07 ms β no change β
β QQuery 89 β 35.05 / 35.36 Β±0.30 / 35.83 ms β 35.09 / 36.72 Β±2.13 / 40.77 ms β no change β
β QQuery 90 β 16.71 / 16.89 Β±0.16 / 17.15 ms β 16.45 / 16.74 Β±0.24 / 17.13 ms β no change β
β QQuery 91 β 41.22 / 42.81 Β±2.31 / 47.39 ms β 41.04 / 41.52 Β±0.38 / 42.11 ms β no change β
β QQuery 92 β 29.39 / 29.80 Β±0.31 / 30.28 ms β 30.07 / 30.76 Β±0.89 / 32.51 ms β no change β
β QQuery 93 β 49.15 / 50.38 Β±1.10 / 51.71 ms β 48.72 / 49.86 Β±1.11 / 51.25 ms β no change β
β QQuery 94 β 38.23 / 38.68 Β±0.31 / 39.03 ms β 37.76 / 38.19 Β±0.38 / 38.68 ms β no change β
β QQuery 95 β 80.26 / 81.45 Β±1.14 / 83.46 ms β 78.47 / 80.00 Β±1.52 / 82.37 ms β no change β
β QQuery 96 β 23.63 / 23.94 Β±0.18 / 24.18 ms β 23.46 / 24.27 Β±1.25 / 26.76 ms β no change β
β QQuery 97 β 51.36 / 52.09 Β±0.70 / 52.98 ms β 49.46 / 50.48 Β±1.13 / 51.92 ms β no change β
β QQuery 98 β 42.61 / 43.82 Β±0.62 / 44.33 ms β 41.47 / 42.15 Β±0.41 / 42.71 ms β no change β
β QQuery 99 β 65.13 / 66.54 Β±1.81 / 70.12 ms β 64.97 / 66.14 Β±1.95 / 70.02 ms β no change β
βββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββ³ββββββββββββ
β Benchmark Summary β β
β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β Total Time (HEAD) β 8962.98ms β
β Total Time (kumar_null-check-statistics) β 8986.93ms β
β Average Time (HEAD) β 90.54ms β
β Average Time (kumar_null-check-statistics) β 90.78ms β
β Queries Faster β 8 β
β Queries Slower β 2 β
β Queries with No Change β 89 β
β Queries with Failure β 0 β
ββββββββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**tpcds β base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 50.0s |
| Peak memory | 2.3 GiB |
| Avg memory | 1.5 GiB |
| CPU user | 189.7s |
| CPU sys | 5.8s |
| Peak spill | 0 B |
**tpcds β branch**
| Metric | Value |
|--------|-------|
| Wall time | 50.0s |
| Peak memory | 2.2 GiB |
| Avg memory | 1.5 GiB |
| CPU user | 188.3s |
| CPU sys | 5.8s |
| Peak spill | 0 B |
</details>
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "kumarUjjawal (via GitHub)" <gi...@apache.org>.
kumarUjjawal commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-6342218407
@gabotechs last one to finish this
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-5795997357
π€ Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-5795426477)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
Comparing kumar/null-check-statistics (227581d74c5c90ba06c26fd374c00ee9228bcf66) to 714956b (merge-base) [diff](https://github.com/apache/datafusion/compare/714956b3a8aed43e8abd27ed400710417d231982..227581d74c5c90ba06c26fd374c00ee9228bcf66)
<details><summary>Run configuration</summary>
```yaml
run benchmark imdb
```
</details>
<details><summary>CPU Details (lscpu)</summary>
```
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>
<details><summary>Details</summary>
<p>
```
Comparing HEAD and kumar_null-check-statistics
--------------------
Benchmark imdb.json
--------------------
ββββββββββββββ³βββββββββββββ³ββββββββββββββββββββββββββββββ³ββββββββββββββββ
β Query β HEAD β kumar_null-check-statistics β Change β
β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β QQuery 1 β 103.93 ms β 103.96 ms β no change β
β QQuery 2 β 91.52 ms β 90.96 ms β no change β
β QQuery 3 β 83.88 ms β 83.20 ms β no change β
β QQuery 4 β 95.18 ms β 94.68 ms β no change β
β QQuery 5 β 92.67 ms β 92.57 ms β no change β
β QQuery 6 β 90.98 ms β 90.87 ms β no change β
β QQuery 7 β 87.20 ms β 87.06 ms β no change β
β QQuery 8 β 103.85 ms β 103.64 ms β no change β
β QQuery 9 β 333.82 ms β 333.65 ms β no change β
β QQuery 10 β 313.89 ms β 312.96 ms β no change β
β QQuery 11 β 344.44 ms β 343.59 ms β no change β
β QQuery 12 β 110.58 ms β 110.03 ms β no change β
β QQuery 13 β 93.05 ms β 92.99 ms β no change β
β QQuery 14 β 127.02 ms β 127.46 ms β no change β
β QQuery 15 β 61.21 ms β 60.89 ms β no change β
β QQuery 16 β 54.98 ms β 55.02 ms β no change β
β QQuery 17 β 337.89 ms β 334.50 ms β no change β
β QQuery 18 β 556.84 ms β 554.34 ms β no change β
β QQuery 19 β 579.15 ms β 576.27 ms β no change β
β QQuery 20 β 538.48 ms β 529.32 ms β no change β
β QQuery 21 β 605.16 ms β 600.53 ms β no change β
β QQuery 22 β 560.35 ms β 566.95 ms β no change β
β QQuery 23 β 602.17 ms β 609.83 ms β no change β
β QQuery 24 β 220.68 ms β 220.08 ms β no change β
β QQuery 25 β 205.24 ms β 204.30 ms β no change β
β QQuery 26 β 414.35 ms β 417.68 ms β no change β
β QQuery 27 β 258.20 ms β 257.82 ms β no change β
β QQuery 28 β 217.66 ms β 215.12 ms β no change β
β QQuery 29 β 710.26 ms β 703.80 ms β no change β
β QQuery 30 β 539.94 ms β 551.10 ms β no change β
β QQuery 31 β 347.50 ms β 341.50 ms β no change β
β QQuery 32 β 319.97 ms β 321.99 ms β no change β
β QQuery 33 β 333.51 ms β 329.89 ms β no change β
β QQuery 34 β 345.19 ms β 347.68 ms β no change β
β QQuery 35 β 211.96 ms β 210.59 ms β no change β
β QQuery 36 β 201.44 ms β 198.16 ms β no change β
β QQuery 37 β 221.97 ms β 221.86 ms β no change β
β QQuery 38 β 101.80 ms β 96.53 ms β +1.05x faster β
β QQuery 39 β 104.81 ms β 98.68 ms β +1.06x faster β
β QQuery 40 β 97.05 ms β 97.58 ms β no change β
β QQuery 41 β 228.01 ms β 172.89 ms β +1.32x faster β
β QQuery 42 β 197.38 ms β 196.45 ms β no change β
β QQuery 43 β 225.99 ms β 222.98 ms β no change β
β QQuery 44 β 209.08 ms β 206.48 ms β no change β
β QQuery 45 β 387.96 ms β 385.26 ms β no change β
β QQuery 46 β 185.62 ms β 186.95 ms β no change β
β QQuery 47 β 173.16 ms β 173.34 ms β no change β
β QQuery 48 β 189.32 ms β 186.55 ms β no change β
β QQuery 49 β 335.29 ms β 329.79 ms β no change β
β QQuery 50 β 348.55 ms β 338.72 ms β no change β
β QQuery 51 β 344.65 ms β 342.87 ms β no change β
β QQuery 52 β 367.89 ms β 365.14 ms β no change β
β QQuery 53 β 375.41 ms β 380.17 ms β no change β
β QQuery 54 β 425.09 ms β 418.97 ms β no change β
β QQuery 55 β 170.41 ms β 170.59 ms β no change β
β QQuery 56 β 2421.98 ms β 2389.68 ms β no change β
β QQuery 57 β 2445.62 ms β 2495.78 ms β no change β
β QQuery 58 β 2447.72 ms β 2456.35 ms β no change β
β QQuery 59 β 2434.22 ms β 2447.38 ms β no change β
β QQuery 60 β 1645.75 ms β 1607.90 ms β no change β
β QQuery 61 β 3907.70 ms β 3983.45 ms β no change β
β QQuery 62 β 3893.01 ms β 4115.65 ms β 1.06x slower β
β QQuery 63 β 4045.71 ms β 4146.96 ms β no change β
β QQuery 64 β 1705.35 ms β 1698.79 ms β no change β
β QQuery 65 β 3929.33 ms β 3960.78 ms β no change β
β QQuery 66 β 356.02 ms β 359.98 ms β no change β
β QQuery 67 β 257.93 ms β 255.74 ms β no change β
β QQuery 68 β 280.86 ms β 276.30 ms β no change β
β QQuery 69 β 554.88 ms β 552.05 ms β no change β
β QQuery 70 β 556.37 ms β 562.14 ms β no change β
β QQuery 71 β 540.79 ms β 543.38 ms β no change β
β QQuery 72 β 403.97 ms β 399.66 ms β no change β
β QQuery 73 β 289.84 ms β 288.04 ms β no change β
β QQuery 74 β 342.52 ms β 336.13 ms β no change β
β QQuery 75 β 274.30 ms β 275.94 ms β no change β
β QQuery 76 β 372.19 ms β 375.19 ms β no change β
β QQuery 77 β 356.60 ms β 355.29 ms β no change β
β QQuery 78 β 381.91 ms β 374.73 ms β no change β
β QQuery 79 β 395.31 ms β 394.64 ms β no change β
β QQuery 80 β 403.83 ms β 396.98 ms β no change β
β QQuery 81 β 486.09 ms β 491.01 ms β no change β
β QQuery 82 β 430.25 ms β 431.78 ms β no change β
β QQuery 83 β 380.96 ms β 379.68 ms β no change β
β QQuery 84 β 339.25 ms β 334.05 ms β no change β
β QQuery 85 β 402.43 ms β 398.89 ms β no change β
β QQuery 86 β 630.63 ms β 615.33 ms β no change β
β QQuery 87 β 590.09 ms β 596.21 ms β no change β
β QQuery 88 β 327.10 ms β 333.33 ms β no change β
β QQuery 89 β 312.54 ms β 307.86 ms β no change β
β QQuery 90 β 344.39 ms β 338.62 ms β no change β
β QQuery 91 β 320.84 ms β 312.53 ms β no change β
β QQuery 92 β 267.43 ms β 267.11 ms β no change β
β QQuery 93 β 284.53 ms β 285.08 ms β no change β
β QQuery 94 β 367.74 ms β 373.56 ms β no change β
β QQuery 95 β 366.55 ms β 371.93 ms β no change β
β QQuery 96 β 375.28 ms β 375.92 ms β no change β
β QQuery 97 β 435.13 ms β 427.19 ms β no change β
β QQuery 98 β 422.48 ms β 418.17 ms β no change β
β QQuery 99 β 442.13 ms β 441.62 ms β no change β
β QQuery 100 β 564.83 ms β 553.86 ms β no change β
β QQuery 101 β 532.56 ms β 531.94 ms β no change β
β QQuery 102 β 894.60 ms β 886.55 ms β no change β
β QQuery 103 β 345.63 ms β 340.35 ms β no change β
β QQuery 104 β 356.04 ms β 361.76 ms β no change β
β QQuery 105 β 340.60 ms β 343.21 ms β no change β
β QQuery 106 β 369.44 ms β 373.54 ms β no change β
β QQuery 107 β 345.28 ms β 343.96 ms β no change β
β QQuery 108 β 375.38 ms β 366.80 ms β no change β
β QQuery 109 β 35.10 ms β 35.36 ms β no change β
β QQuery 110 β 86.86 ms β 86.52 ms β no change β
β QQuery 111 β 228.03 ms β 225.79 ms β no change β
β QQuery 112 β 159.04 ms β 158.61 ms β no change β
β QQuery 113 β 241.60 ms β 240.98 ms β no change β
ββββββββββββββ΄βββββββββββββ΄ββββββββββββββββββββββββββββββ΄ββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββ³βββββββββββββ
β Benchmark Summary β β
β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β Total Time (HEAD) β 62028.10ms β
β Total Time (kumar_null-check-statistics) β 62264.78ms β
β Average Time (HEAD) β 548.92ms β
β Average Time (kumar_null-check-statistics) β 551.02ms β
β Queries Faster β 3 β
β Queries Slower β 1 β
β Queries with No Change β 109 β
β Queries with Failure β 0 β
ββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββ
Distribution per query (min / mean Β±stddev / max):
Comparing HEAD and kumar_null-check-statistics
--------------------
Benchmark imdb.json
--------------------
ββββββββββββββ³βββββββββββββββββββββββββββββββββββββββββ³βββββββββββββββββββββββββββββββββββββββββ³ββββββββββββββββ
β Query β HEAD β kumar_null-check-statistics β Change β
β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β QQuery 1 β 103.93 / 105.32 Β±1.86 / 109.00 ms β 103.96 / 105.04 Β±1.20 / 107.37 ms β no change β
β QQuery 2 β 91.52 / 91.75 Β±0.18 / 92.08 ms β 90.96 / 91.38 Β±0.30 / 91.80 ms β no change β
β QQuery 3 β 83.88 / 85.10 Β±1.61 / 88.25 ms β 83.20 / 84.27 Β±0.63 / 84.92 ms β no change β
β QQuery 4 β 95.18 / 95.71 Β±0.36 / 96.08 ms β 94.68 / 95.15 Β±0.37 / 95.81 ms β no change β
β QQuery 5 β 92.67 / 95.47 Β±4.51 / 104.43 ms β 92.57 / 93.60 Β±1.50 / 96.49 ms β no change β
β QQuery 6 β 90.98 / 91.47 Β±0.37 / 92.07 ms β 90.87 / 91.50 Β±0.46 / 92.05 ms β no change β
β QQuery 7 β 87.20 / 91.99 Β±7.28 / 106.50 ms β 87.06 / 90.70 Β±6.08 / 102.83 ms β no change β
β QQuery 8 β 103.85 / 104.97 Β±0.67 / 105.90 ms β 103.64 / 104.02 Β±0.35 / 104.50 ms β no change β
β QQuery 9 β 333.82 / 338.15 Β±2.86 / 341.99 ms β 333.65 / 337.39 Β±2.63 / 340.96 ms β no change β
β QQuery 10 β 313.89 / 318.63 Β±4.55 / 325.43 ms β 312.96 / 318.34 Β±5.31 / 327.70 ms β no change β
β QQuery 11 β 344.44 / 347.25 Β±2.35 / 351.16 ms β 343.59 / 346.59 Β±2.78 / 351.29 ms β no change β
β QQuery 12 β 110.58 / 111.74 Β±0.62 / 112.27 ms β 110.03 / 113.74 Β±4.15 / 121.67 ms β no change β
β QQuery 13 β 93.05 / 94.11 Β±1.04 / 95.92 ms β 92.99 / 93.48 Β±0.35 / 93.92 ms β no change β
β QQuery 14 β 127.02 / 132.01 Β±6.90 / 145.66 ms β 127.46 / 131.63 Β±6.23 / 143.95 ms β no change β
β QQuery 15 β 61.21 / 61.99 Β±0.80 / 63.50 ms β 60.89 / 62.12 Β±0.97 / 63.31 ms β no change β
β QQuery 16 β 54.98 / 57.43 Β±3.73 / 64.85 ms β 55.02 / 55.56 Β±0.46 / 56.15 ms β no change β
β QQuery 17 β 337.89 / 341.96 Β±4.18 / 349.20 ms β 334.50 / 337.96 Β±3.38 / 343.81 ms β no change β
β QQuery 18 β 556.84 / 572.02 Β±13.61 / 594.22 ms β 554.34 / 563.79 Β±8.25 / 573.79 ms β no change β
β QQuery 19 β 579.15 / 595.48 Β±13.10 / 619.07 ms β 576.27 / 591.86 Β±10.99 / 606.82 ms β no change β
β QQuery 20 β 538.48 / 543.55 Β±3.18 / 547.01 ms β 529.32 / 539.70 Β±12.07 / 561.92 ms β no change β
β QQuery 21 β 605.16 / 642.28 Β±39.41 / 696.23 ms β 600.53 / 618.83 Β±14.61 / 643.43 ms β no change β
β QQuery 22 β 560.35 / 567.67 Β±6.71 / 580.34 ms β 566.95 / 573.12 Β±5.34 / 581.47 ms β no change β
β QQuery 23 β 602.17 / 623.50 Β±15.26 / 644.31 ms β 609.83 / 628.67 Β±15.27 / 654.28 ms β no change β
β QQuery 24 β 220.68 / 227.87 Β±11.45 / 250.70 ms β 220.08 / 235.17 Β±14.50 / 259.65 ms β no change β
β QQuery 25 β 205.24 / 213.43 Β±6.10 / 219.97 ms β 204.30 / 213.75 Β±8.69 / 227.06 ms β no change β
β QQuery 26 β 414.35 / 428.66 Β±15.14 / 456.86 ms β 417.68 / 430.96 Β±10.92 / 447.40 ms β no change β
β QQuery 27 β 258.20 / 267.36 Β±7.82 / 276.90 ms β 257.82 / 265.37 Β±8.33 / 275.60 ms β no change β
β QQuery 28 β 217.66 / 220.80 Β±3.10 / 224.78 ms β 215.12 / 223.64 Β±5.77 / 230.36 ms β no change β
β QQuery 29 β 710.26 / 720.62 Β±10.54 / 740.65 ms β 703.80 / 723.39 Β±12.64 / 739.95 ms β no change β
β QQuery 30 β 539.94 / 556.00 Β±12.67 / 572.18 ms β 551.10 / 567.80 Β±11.14 / 582.03 ms β no change β
β QQuery 31 β 347.50 / 357.71 Β±10.36 / 376.90 ms β 341.50 / 344.59 Β±3.51 / 350.53 ms β no change β
β QQuery 32 β 319.97 / 327.15 Β±5.34 / 336.04 ms β 321.99 / 330.00 Β±6.48 / 340.16 ms β no change β
β QQuery 33 β 333.51 / 346.84 Β±9.10 / 357.01 ms β 329.89 / 346.39 Β±12.62 / 366.92 ms β no change β
β QQuery 34 β 345.19 / 356.84 Β±7.10 / 364.61 ms β 347.68 / 356.66 Β±10.85 / 375.61 ms β no change β
β QQuery 35 β 211.96 / 225.54 Β±13.33 / 249.87 ms β 210.59 / 229.04 Β±20.71 / 258.56 ms β no change β
β QQuery 36 β 201.44 / 213.10 Β±17.20 / 246.60 ms β 198.16 / 211.92 Β±19.74 / 250.55 ms β no change β
β QQuery 37 β 221.97 / 234.91 Β±13.28 / 254.13 ms β 221.86 / 241.26 Β±20.87 / 281.19 ms β no change β
β QQuery 38 β 101.80 / 109.30 Β±8.43 / 124.75 ms β 96.53 / 100.74 Β±7.32 / 115.35 ms β +1.09x faster β
β QQuery 39 β 104.81 / 105.89 Β±0.72 / 107.00 ms β 98.68 / 107.65 Β±15.60 / 138.77 ms β no change β
β QQuery 40 β 97.05 / 101.54 Β±6.42 / 114.28 ms β 97.58 / 98.39 Β±1.20 / 100.72 ms β no change β
β QQuery 41 β 228.01 / 234.07 Β±4.43 / 241.45 ms β 172.89 / 181.74 Β±6.48 / 192.39 ms β +1.29x faster β
β QQuery 42 β 197.38 / 206.20 Β±8.32 / 219.12 ms β 196.45 / 203.51 Β±6.99 / 212.46 ms β no change β
β QQuery 43 β 225.99 / 232.38 Β±7.25 / 246.22 ms β 222.98 / 225.75 Β±2.49 / 229.94 ms β no change β
β QQuery 44 β 209.08 / 213.04 Β±5.01 / 222.93 ms β 206.48 / 214.03 Β±11.43 / 236.78 ms β no change β
β QQuery 45 β 387.96 / 402.06 Β±15.53 / 431.53 ms β 385.26 / 392.85 Β±12.28 / 417.31 ms β no change β
β QQuery 46 β 185.62 / 198.68 Β±13.11 / 222.42 ms β 186.95 / 192.10 Β±4.74 / 200.92 ms β no change β
β QQuery 47 β 173.16 / 177.01 Β±4.35 / 185.07 ms β 173.34 / 180.97 Β±5.85 / 190.21 ms β no change β
β QQuery 48 β 189.32 / 196.13 Β±6.84 / 209.31 ms β 186.55 / 192.96 Β±7.62 / 207.74 ms β no change β
β QQuery 49 β 335.29 / 348.56 Β±10.37 / 364.77 ms β 329.79 / 343.83 Β±9.89 / 358.57 ms β no change β
β QQuery 50 β 348.55 / 359.27 Β±11.16 / 378.30 ms β 338.72 / 360.64 Β±14.49 / 380.10 ms β no change β
β QQuery 51 β 344.65 / 349.38 Β±3.46 / 354.13 ms β 342.87 / 356.33 Β±9.28 / 367.44 ms β no change β
β QQuery 52 β 367.89 / 378.51 Β±7.71 / 391.09 ms β 365.14 / 369.01 Β±2.96 / 373.77 ms β no change β
β QQuery 53 β 375.41 / 392.71 Β±16.03 / 419.57 ms β 380.17 / 388.79 Β±10.39 / 406.97 ms β no change β
β QQuery 54 β 425.09 / 440.47 Β±11.85 / 460.95 ms β 418.97 / 433.34 Β±16.65 / 465.52 ms β no change β
β QQuery 55 β 170.41 / 179.80 Β±9.97 / 193.25 ms β 170.59 / 177.48 Β±7.23 / 191.09 ms β no change β
β QQuery 56 β 2421.98 / 2454.44 Β±27.21 / 2488.36 ms β 2389.68 / 2474.27 Β±88.99 / 2640.23 ms β no change β
β QQuery 57 β 2445.62 / 2495.34 Β±26.06 / 2518.05 ms β 2495.78 / 2586.35 Β±123.17 / 2828.95 ms β no change β
β QQuery 58 β 2447.72 / 2470.71 Β±17.99 / 2493.40 ms β 2456.35 / 2483.69 Β±20.16 / 2517.05 ms β no change β
β QQuery 59 β 2434.22 / 2493.52 Β±53.04 / 2574.03 ms β 2447.38 / 2529.61 Β±71.19 / 2641.48 ms β no change β
β QQuery 60 β 1645.75 / 1662.78 Β±20.43 / 1701.48 ms β 1607.90 / 1638.38 Β±20.17 / 1669.27 ms β no change β
β QQuery 61 β 3907.70 / 4072.44 Β±139.25 / 4294.15 ms β 3983.45 / 4156.34 Β±96.34 / 4280.83 ms β no change β
β QQuery 62 β 3893.01 / 4038.26 Β±146.98 / 4292.66 ms β 4115.65 / 4221.20 Β±167.77 / 4555.09 ms β no change β
β QQuery 63 β 4045.71 / 4130.00 Β±60.10 / 4192.90 ms β 4146.96 / 4285.56 Β±159.53 / 4579.29 ms β no change β
β QQuery 64 β 1705.35 / 1724.25 Β±16.97 / 1749.54 ms β 1698.79 / 1719.51 Β±16.97 / 1748.32 ms β no change β
β QQuery 65 β 3929.33 / 4158.25 Β±196.58 / 4511.46 ms β 3960.78 / 4166.69 Β±214.48 / 4563.11 ms β no change β
β QQuery 66 β 356.02 / 366.87 Β±11.27 / 385.32 ms β 359.98 / 371.54 Β±15.30 / 401.19 ms β no change β
β QQuery 67 β 257.93 / 266.15 Β±8.33 / 280.52 ms β 255.74 / 269.69 Β±20.63 / 309.26 ms β no change β
β QQuery 68 β 280.86 / 291.14 Β±13.26 / 315.45 ms β 276.30 / 288.62 Β±12.83 / 311.79 ms β no change β
β QQuery 69 β 554.88 / 573.85 Β±13.51 / 592.83 ms β 552.05 / 561.63 Β±8.90 / 576.38 ms β no change β
β QQuery 70 β 556.37 / 567.52 Β±7.26 / 576.36 ms β 562.14 / 582.43 Β±17.40 / 612.32 ms β no change β
β QQuery 71 β 540.79 / 571.38 Β±23.66 / 612.65 ms β 543.38 / 562.64 Β±29.93 / 622.10 ms β no change β
β QQuery 72 β 403.97 / 418.72 Β±9.17 / 430.78 ms β 399.66 / 417.72 Β±12.32 / 430.96 ms β no change β
β QQuery 73 β 289.84 / 310.68 Β±16.63 / 335.34 ms β 288.04 / 314.05 Β±25.10 / 359.33 ms β no change β
β QQuery 74 β 342.52 / 356.70 Β±11.39 / 366.54 ms β 336.13 / 345.68 Β±9.75 / 362.47 ms β no change β
β QQuery 75 β 274.30 / 276.92 Β±1.79 / 278.96 ms β 275.94 / 286.62 Β±11.61 / 309.09 ms β no change β
β QQuery 76 β 372.19 / 391.60 Β±21.72 / 427.22 ms β 375.19 / 388.56 Β±15.15 / 413.72 ms β no change β
β QQuery 77 β 356.60 / 363.40 Β±8.23 / 377.66 ms β 355.29 / 369.84 Β±13.28 / 386.29 ms β no change β
β QQuery 78 β 381.91 / 390.77 Β±9.22 / 406.31 ms β 374.73 / 378.64 Β±5.12 / 388.51 ms β no change β
β QQuery 79 β 395.31 / 404.98 Β±8.11 / 419.62 ms β 394.64 / 415.15 Β±22.54 / 455.97 ms β no change β
β QQuery 80 β 403.83 / 407.93 Β±6.38 / 420.65 ms β 396.98 / 411.46 Β±14.01 / 436.88 ms β no change β
β QQuery 81 β 486.09 / 500.83 Β±8.08 / 509.96 ms β 491.01 / 502.21 Β±8.80 / 514.73 ms β no change β
β QQuery 82 β 430.25 / 452.88 Β±22.18 / 487.98 ms β 431.78 / 451.32 Β±17.77 / 474.43 ms β no change β
β QQuery 83 β 380.96 / 391.22 Β±8.77 / 402.47 ms β 379.68 / 397.79 Β±14.64 / 419.47 ms β no change β
β QQuery 84 β 339.25 / 348.21 Β±6.68 / 359.77 ms β 334.05 / 345.47 Β±7.35 / 354.20 ms β no change β
β QQuery 85 β 402.43 / 412.76 Β±10.51 / 431.39 ms β 398.89 / 405.68 Β±7.73 / 417.48 ms β no change β
β QQuery 86 β 630.63 / 643.98 Β±11.05 / 661.24 ms β 615.33 / 635.99 Β±24.90 / 676.83 ms β no change β
β QQuery 87 β 590.09 / 620.36 Β±21.89 / 655.74 ms β 596.21 / 612.85 Β±16.14 / 642.49 ms β no change β
β QQuery 88 β 327.10 / 349.20 Β±13.54 / 361.73 ms β 333.33 / 357.61 Β±18.51 / 381.46 ms β no change β
β QQuery 89 β 312.54 / 321.84 Β±13.18 / 346.91 ms β 307.86 / 328.05 Β±21.68 / 368.58 ms β no change β
β QQuery 90 β 344.39 / 355.10 Β±6.01 / 362.62 ms β 338.62 / 361.35 Β±14.20 / 382.54 ms β no change β
β QQuery 91 β 320.84 / 331.06 Β±8.60 / 346.83 ms β 312.53 / 326.67 Β±9.00 / 336.76 ms β no change β
β QQuery 92 β 267.43 / 278.64 Β±12.34 / 301.70 ms β 267.11 / 280.74 Β±8.68 / 292.53 ms β no change β
β QQuery 93 β 284.53 / 292.75 Β±9.10 / 308.85 ms β 285.08 / 294.15 Β±5.12 / 299.49 ms β no change β
β QQuery 94 β 367.74 / 383.19 Β±10.80 / 398.22 ms β 373.56 / 395.52 Β±16.35 / 413.82 ms β no change β
β QQuery 95 β 366.55 / 379.34 Β±9.77 / 391.47 ms β 371.93 / 382.11 Β±8.75 / 392.51 ms β no change β
β QQuery 96 β 375.28 / 380.95 Β±9.89 / 400.69 ms β 375.92 / 387.77 Β±11.46 / 404.87 ms β no change β
β QQuery 97 β 435.13 / 450.90 Β±15.06 / 476.63 ms β 427.19 / 441.68 Β±12.46 / 455.74 ms β no change β
β QQuery 98 β 422.48 / 438.64 Β±13.40 / 456.80 ms β 418.17 / 428.19 Β±15.44 / 458.86 ms β no change β
β QQuery 99 β 442.13 / 454.70 Β±10.62 / 470.47 ms β 441.62 / 456.56 Β±9.92 / 469.18 ms β no change β
β QQuery 100 β 564.83 / 583.69 Β±11.49 / 598.05 ms β 553.86 / 574.37 Β±15.50 / 595.25 ms β no change β
β QQuery 101 β 532.56 / 548.12 Β±11.95 / 566.05 ms β 531.94 / 552.54 Β±15.84 / 578.33 ms β no change β
β QQuery 102 β 894.60 / 924.76 Β±17.59 / 949.08 ms β 886.55 / 899.10 Β±12.37 / 920.82 ms β no change β
β QQuery 103 β 345.63 / 362.65 Β±8.99 / 369.74 ms β 340.35 / 352.15 Β±8.99 / 363.85 ms β no change β
β QQuery 104 β 356.04 / 373.52 Β±13.36 / 396.01 ms β 361.76 / 376.16 Β±10.13 / 389.39 ms β no change β
β QQuery 105 β 340.60 / 351.51 Β±6.38 / 359.24 ms β 343.21 / 355.79 Β±6.85 / 363.24 ms β no change β
β QQuery 106 β 369.44 / 382.02 Β±14.04 / 406.55 ms β 373.54 / 387.29 Β±11.00 / 402.77 ms β no change β
β QQuery 107 β 345.28 / 365.47 Β±25.67 / 414.45 ms β 343.96 / 358.24 Β±9.05 / 372.07 ms β no change β
β QQuery 108 β 375.38 / 395.97 Β±23.50 / 439.55 ms β 366.80 / 399.35 Β±21.33 / 432.79 ms β no change β
β QQuery 109 β 35.10 / 35.76 Β±0.51 / 36.52 ms β 35.36 / 35.74 Β±0.35 / 36.35 ms β no change β
β QQuery 110 β 86.86 / 102.85 Β±28.18 / 159.18 ms β 86.52 / 95.50 Β±14.51 / 124.39 ms β +1.08x faster β
β QQuery 111 β 228.03 / 233.66 Β±5.78 / 243.14 ms β 225.79 / 236.71 Β±12.36 / 260.51 ms β no change β
β QQuery 112 β 159.04 / 162.55 Β±3.83 / 169.55 ms β 158.61 / 164.75 Β±5.77 / 174.11 ms β no change β
β QQuery 113 β 241.60 / 246.57 Β±5.19 / 256.44 ms β 240.98 / 245.93 Β±4.11 / 252.23 ms β no change β
ββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββ³βββββββββββββ
β Benchmark Summary β β
β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β Total Time (HEAD) β 63945.61ms β
β Total Time (kumar_null-check-statistics) β 64359.69ms β
β Average Time (HEAD) β 565.89ms β
β Average Time (kumar_null-check-statistics) β 569.55ms β
β Queries Faster β 3 β
β Queries Slower β 0 β
β Queries with No Change β 110 β
β Queries with Failure β 0 β
ββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**imdb β base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 420.1s |
| Peak memory | 1.9 GiB |
| Avg memory | 1.0 GiB |
| CPU user | 2449.3s |
| CPU sys | 61.9s |
| Peak spill | 0 B |
**imdb β branch**
| Metric | Value |
|--------|-------|
| Wall time | 420.1s |
| Peak memory | 1.9 GiB |
| Avg memory | 1.0 GiB |
| CPU user | 2440.3s |
| CPU sys | 62.0s |
| Peak spill | 0 B |
</details>
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-5795465955
π€ Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-5795421755)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5795421755-2634-rqgfc 6.12.94+ #1 SMP Wed Aug 19 07:47:20 UTC 2026 aarch64 GNU/Linux`
<details><summary>CPU Details (lscpu)</summary>
```
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 kumar/null-check-statistics (227581d74c5c90ba06c26fd374c00ee9228bcf66) to 714956b (merge-base) [diff](https://github.com/apache/datafusion/compare/714956b3a8aed43e8abd27ed400710417d231982..227581d74c5c90ba06c26fd374c00ee9228bcf66)
<details><summary>Run configuration</summary>
```yaml
run benchmark sql_planner
```
</details>
Results will be posted here when complete
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-6342290963
π€ Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-6342213186)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c6342213186-3759-rjsqn 6.12.94+ #1 SMP Fri Aug 21 08:00:16 UTC 2026 aarch64 GNU/Linux`
<details><summary>CPU Details (lscpu)</summary>
```
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 kumar/null-check-statistics (584bc64051b5dc42cc83aa5d987e3648748f21df) to 2717e25 (merge-base) [diff](https://github.com/apache/datafusion/compare/2717e25625ff0c51c1805f8df52d317979db74ec..584bc64051b5dc42cc83aa5d987e3648748f21df)
<details><summary>Run configuration</summary>
```yaml
run benchmark compute_statistics
```
</details>
Results will be posted here when complete
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-6343743122
π€ Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-6342213186)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
Comparing kumar/null-check-statistics (584bc64051b5dc42cc83aa5d987e3648748f21df) to 2717e25 (merge-base) [diff](https://github.com/apache/datafusion/compare/2717e25625ff0c51c1805f8df52d317979db74ec..584bc64051b5dc42cc83aa5d987e3648748f21df)
<details><summary>Run configuration</summary>
```yaml
run benchmark sql_planner
```
</details>
<details><summary>CPU Details (lscpu)</summary>
```
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>
<details><summary>Details</summary>
<p>
```
group HEAD kumar_null-check-statistics
----- ---- ---------------------------
logical_aggregate_with_join 1.00 349.6Β±1.83Β΅s ? ?/sec 1.00 348.1Β±1.95Β΅s ? ?/sec
logical_correlated_subquery_exists 1.00 206.4Β±1.31Β΅s ? ?/sec 1.00 206.5Β±2.48Β΅s ? ?/sec
logical_correlated_subquery_in 1.00 208.1Β±0.61Β΅s ? ?/sec 1.00 207.9Β±0.80Β΅s ? ?/sec
logical_distinct_many_columns 1.00 293.3Β±0.87Β΅s ? ?/sec 1.00 292.0Β±0.61Β΅s ? ?/sec
logical_join_4_with_agg_and_filter 1.03 199.9Β±0.45Β΅s ? ?/sec 1.00 194.5Β±1.80Β΅s ? ?/sec
logical_join_8_with_agg_sort_limit 1.01 342.0Β±1.57Β΅s ? ?/sec 1.00 339.1Β±1.36Β΅s ? ?/sec
logical_join_chain_16 1.01 618.9Β±3.87Β΅s ? ?/sec 1.00 614.8Β±2.55Β΅s ? ?/sec
logical_join_chain_4 1.01 75.5Β±0.30Β΅s ? ?/sec 1.00 74.8Β±0.26Β΅s ? ?/sec
logical_join_chain_8 1.01 200.8Β±0.57Β΅s ? ?/sec 1.00 199.5Β±0.55Β΅s ? ?/sec
logical_multiple_subqueries 1.00 393.2Β±2.28Β΅s ? ?/sec 1.00 392.3Β±3.10Β΅s ? ?/sec
logical_nested_cte_4_levels 1.00 196.5Β±1.54Β΅s ? ?/sec 1.00 196.1Β±0.94Β΅s ? ?/sec
logical_plan_struct_join_agg_sort 1.02 125.3Β±0.63Β΅s ? ?/sec 1.00 122.7Β±0.99Β΅s ? ?/sec
logical_plan_tpcds_all 1.00 71.7Β±0.12ms ? ?/sec 1.00 71.5Β±0.14ms ? ?/sec
logical_plan_tpch_all 1.00 5.2Β±0.02ms ? ?/sec 1.01 5.2Β±0.02ms ? ?/sec
logical_scalar_subquery 1.01 216.7Β±1.35Β΅s ? ?/sec 1.00 215.3Β±1.44Β΅s ? ?/sec
logical_select_all_from_1000 1.01 7.2Β±0.03ms ? ?/sec 1.00 7.2Β±0.02ms ? ?/sec
logical_select_one_from_700 1.00 230.8Β±1.71Β΅s ? ?/sec 1.00 230.6Β±2.56Β΅s ? ?/sec
logical_trivial_join_high_numbered_columns 1.00 209.4Β±1.25Β΅s ? ?/sec 1.00 209.5Β±1.43Β΅s ? ?/sec
logical_trivial_join_low_numbered_columns 1.00 198.7Β±1.33Β΅s ? ?/sec 1.00 197.9Β±1.32Β΅s ? ?/sec
logical_union_4_branches 1.00 308.8Β±1.33Β΅s ? ?/sec 1.01 311.8Β±7.12Β΅s ? ?/sec
logical_union_8_branches 1.01 628.3Β±6.00Β΅s ? ?/sec 1.00 624.9Β±7.41Β΅s ? ?/sec
logical_wide_aggregate_1000_exprs 1.00 42.4Β±0.13ms ? ?/sec 1.00 42.2Β±0.12ms ? ?/sec
logical_wide_aggregate_100_exprs 1.00 1544.3Β±5.54Β΅s ? ?/sec 1.00 1538.4Β±3.88Β΅s ? ?/sec
logical_wide_case_50_exprs 1.01 1724.8Β±7.57Β΅s ? ?/sec 1.00 1714.8Β±5.37Β΅s ? ?/sec
logical_wide_filter_200_predicates 1.00 1313.9Β±4.00Β΅s ? ?/sec 1.00 1309.1Β±7.70Β΅s ? ?/sec
logical_wide_filter_50_predicates 1.00 342.2Β±2.29Β΅s ? ?/sec 1.01 344.4Β±1.06Β΅s ? ?/sec
optimizer_correlated_exists 1.00 217.5Β±1.14Β΅s ? ?/sec 1.00 217.2Β±0.44Β΅s ? ?/sec
optimizer_join_4_with_agg_filter 1.00 398.0Β±1.43Β΅s ? ?/sec 1.00 396.1Β±1.10Β΅s ? ?/sec
optimizer_join_chain_4 1.01 156.1Β±0.23Β΅s ? ?/sec 1.00 154.9Β±0.58Β΅s ? ?/sec
optimizer_join_chain_8 1.00 531.8Β±1.39Β΅s ? ?/sec 1.00 531.9Β±0.83Β΅s ? ?/sec
optimizer_select_all_from_1000 1.00 7.1Β±0.01ms ? ?/sec 1.00 7.1Β±0.01ms ? ?/sec
optimizer_select_one_from_700 1.01 241.7Β±0.63Β΅s ? ?/sec 1.00 239.7Β±0.77Β΅s ? ?/sec
optimizer_tpcds_all 1.00 246.8Β±0.30ms ? ?/sec 1.00 246.5Β±0.39ms ? ?/sec
optimizer_tpch_all 1.00 14.9Β±0.03ms ? ?/sec 1.00 14.9Β±0.05ms ? ?/sec
optimizer_wide_aggregate_100 1.00 1745.3Β±2.73Β΅s ? ?/sec 1.00 1741.2Β±10.41Β΅s ? ?/sec
optimizer_wide_filter_200 1.00 4.0Β±0.01ms ? ?/sec 1.00 4.0Β±0.02ms ? ?/sec
physical_intersection 1.00 513.2Β±2.69Β΅s ? ?/sec 1.01 520.2Β±2.06Β΅s ? ?/sec
physical_join_consider_sort 1.01 962.4Β±1.99Β΅s ? ?/sec 1.00 949.2Β±1.65Β΅s ? ?/sec
physical_join_distinct 1.01 191.2Β±1.37Β΅s ? ?/sec 1.00 188.9Β±1.46Β΅s ? ?/sec
physical_many_self_joins 1.00 7.4Β±0.01ms ? ?/sec 1.00 7.3Β±0.02ms ? ?/sec
physical_plan_clickbench_all 1.02 131.3Β±0.49ms ? ?/sec 1.00 128.5Β±1.40ms ? ?/sec
physical_plan_clickbench_q1 1.00 1282.6Β±10.14Β΅s ? ?/sec 1.01 1291.8Β±8.81Β΅s ? ?/sec
physical_plan_clickbench_q10 1.04 1904.5Β±13.62Β΅s ? ?/sec 1.00 1834.2Β±5.66Β΅s ? ?/sec
physical_plan_clickbench_q11 1.02 2.0Β±0.01ms ? ?/sec 1.00 1967.6Β±6.28Β΅s ? ?/sec
physical_plan_clickbench_q12 1.02 2.1Β±0.01ms ? ?/sec 1.00 2.0Β±0.01ms ? ?/sec
physical_plan_clickbench_q13 1.00 1865.1Β±12.65Β΅s ? ?/sec 1.00 1870.6Β±12.64Β΅s ? ?/sec
physical_plan_clickbench_q14 1.00 2.0Β±0.01ms ? ?/sec 1.00 2.0Β±0.01ms ? ?/sec
physical_plan_clickbench_q15 1.01 1924.1Β±13.34Β΅s ? ?/sec 1.00 1914.4Β±6.76Β΅s ? ?/sec
physical_plan_clickbench_q16 1.00 1637.7Β±6.70Β΅s ? ?/sec 1.02 1668.8Β±4.65Β΅s ? ?/sec
physical_plan_clickbench_q17 1.01 1678.0Β±7.06Β΅s ? ?/sec 1.00 1667.4Β±3.95Β΅s ? ?/sec
physical_plan_clickbench_q18 1.00 1529.0Β±7.42Β΅s ? ?/sec 1.02 1555.1Β±5.66Β΅s ? ?/sec
physical_plan_clickbench_q19 1.00 1878.0Β±7.70Β΅s ? ?/sec 1.00 1884.5Β±14.14Β΅s ? ?/sec
physical_plan_clickbench_q2 1.02 1660.9Β±6.76Β΅s ? ?/sec 1.00 1629.4Β±6.68Β΅s ? ?/sec
physical_plan_clickbench_q20 1.00 1449.9Β±5.96Β΅s ? ?/sec 1.02 1472.8Β±4.71Β΅s ? ?/sec
physical_plan_clickbench_q21 1.00 1628.4Β±5.96Β΅s ? ?/sec 1.00 1636.4Β±5.73Β΅s ? ?/sec
physical_plan_clickbench_q22 1.01 1991.1Β±9.72Β΅s ? ?/sec 1.00 1963.2Β±6.01Β΅s ? ?/sec
physical_plan_clickbench_q23 1.00 2.1Β±0.01ms ? ?/sec 1.00 2.1Β±0.01ms ? ?/sec
physical_plan_clickbench_q24 1.00 4.7Β±0.01ms ? ?/sec 1.00 4.7Β±0.01ms ? ?/sec
physical_plan_clickbench_q25 1.02 1769.8Β±8.21Β΅s ? ?/sec 1.00 1741.8Β±5.41Β΅s ? ?/sec
physical_plan_clickbench_q26 1.00 1603.7Β±5.74Β΅s ? ?/sec 1.02 1639.1Β±5.54Β΅s ? ?/sec
physical_plan_clickbench_q27 1.00 1761.1Β±6.58Β΅s ? ?/sec 1.02 1796.4Β±4.30Β΅s ? ?/sec
physical_plan_clickbench_q28 1.01 2.1Β±0.01ms ? ?/sec 1.00 2.1Β±0.01ms ? ?/sec
physical_plan_clickbench_q29 1.00 2.2Β±0.01ms ? ?/sec 1.02 2.2Β±0.01ms ? ?/sec
physical_plan_clickbench_q3 1.01 1532.3Β±6.00Β΅s ? ?/sec 1.00 1515.7Β±4.54Β΅s ? ?/sec
physical_plan_clickbench_q30 1.00 12.4Β±0.04ms ? ?/sec 1.00 12.4Β±0.06ms ? ?/sec
physical_plan_clickbench_q31 1.00 2.2Β±0.01ms ? ?/sec 1.01 2.2Β±0.01ms ? ?/sec
physical_plan_clickbench_q32 1.00 2.2Β±0.01ms ? ?/sec 1.01 2.2Β±0.01ms ? ?/sec
physical_plan_clickbench_q33 1.00 1819.0Β±4.73Β΅s ? ?/sec 1.02 1850.7Β±8.09Β΅s ? ?/sec
physical_plan_clickbench_q34 1.00 1640.7Β±4.08Β΅s ? ?/sec 1.01 1649.7Β±6.30Β΅s ? ?/sec
physical_plan_clickbench_q35 1.01 1705.4Β±7.06Β΅s ? ?/sec 1.00 1683.3Β±5.74Β΅s ? ?/sec
physical_plan_clickbench_q36 1.00 1912.1Β±5.99Β΅s ? ?/sec 1.00 1910.8Β±6.25Β΅s ? ?/sec
physical_plan_clickbench_q37 1.02 2.4Β±0.01ms ? ?/sec 1.00 2.3Β±0.01ms ? ?/sec
physical_plan_clickbench_q38 1.01 2.4Β±0.01ms ? ?/sec 1.00 2.3Β±0.01ms ? ?/sec
physical_plan_clickbench_q39 1.00 2.4Β±0.01ms ? ?/sec 1.00 2.4Β±0.01ms ? ?/sec
physical_plan_clickbench_q4 1.02 1381.7Β±12.01Β΅s ? ?/sec 1.00 1357.0Β±10.69Β΅s ? ?/sec
physical_plan_clickbench_q40 1.00 3.0Β±0.01ms ? ?/sec 1.01 3.0Β±0.01ms ? ?/sec
physical_plan_clickbench_q41 1.01 2.7Β±0.01ms ? ?/sec 1.00 2.7Β±0.01ms ? ?/sec
physical_plan_clickbench_q42 1.00 2.7Β±0.01ms ? ?/sec 1.01 2.7Β±0.01ms ? ?/sec
physical_plan_clickbench_q43 1.01 2.9Β±0.01ms ? ?/sec 1.00 2.9Β±0.01ms ? ?/sec
physical_plan_clickbench_q44 1.04 1480.0Β±13.24Β΅s ? ?/sec 1.00 1429.7Β±4.90Β΅s ? ?/sec
physical_plan_clickbench_q45 1.00 1468.6Β±4.41Β΅s ? ?/sec 1.00 1465.0Β±5.42Β΅s ? ?/sec
physical_plan_clickbench_q46 1.00 1676.7Β±5.25Β΅s ? ?/sec 1.00 1683.4Β±10.65Β΅s ? ?/sec
physical_plan_clickbench_q47 1.00 2.2Β±0.01ms ? ?/sec 1.01 2.2Β±0.01ms ? ?/sec
physical_plan_clickbench_q48 1.00 2.4Β±0.01ms ? ?/sec 1.01 2.5Β±0.01ms ? ?/sec
physical_plan_clickbench_q49 1.00 2.5Β±0.01ms ? ?/sec 1.00 2.5Β±0.02ms ? ?/sec
physical_plan_clickbench_q5 1.00 1512.5Β±7.63Β΅s ? ?/sec 1.00 1515.5Β±13.70Β΅s ? ?/sec
physical_plan_clickbench_q50 1.00 2.6Β±0.01ms ? ?/sec 1.00 2.6Β±0.01ms ? ?/sec
physical_plan_clickbench_q51 1.00 1814.9Β±14.43Β΅s ? ?/sec 1.00 1813.6Β±6.02Β΅s ? ?/sec
physical_plan_clickbench_q52 1.01 2.3Β±0.01ms ? ?/sec 1.00 2.2Β±0.01ms ? ?/sec
physical_plan_clickbench_q53 1.00 1629.5Β±5.70Β΅s ? ?/sec 1.01 1646.3Β±12.14Β΅s ? ?/sec
physical_plan_clickbench_q54 1.00 1641.8Β±5.94Β΅s ? ?/sec 1.00 1648.5Β±12.48Β΅s ? ?/sec
physical_plan_clickbench_q55 1.00 1588.8Β±6.17Β΅s ? ?/sec 1.00 1583.1Β±4.84Β΅s ? ?/sec
physical_plan_clickbench_q56 1.02 1613.3Β±17.61Β΅s ? ?/sec 1.00 1581.3Β±5.40Β΅s ? ?/sec
physical_plan_clickbench_q57 1.01 1712.8Β±6.29Β΅s ? ?/sec 1.00 1698.2Β±6.12Β΅s ? ?/sec
physical_plan_clickbench_q58 1.00 2.1Β±0.01ms ? ?/sec 1.00 2.1Β±0.01ms ? ?/sec
physical_plan_clickbench_q59 1.00 1601.7Β±6.42Β΅s ? ?/sec 1.02 1634.3Β±21.46Β΅s ? ?/sec
physical_plan_clickbench_q6 1.00 1513.5Β±8.56Β΅s ? ?/sec 1.00 1508.1Β±5.02Β΅s ? ?/sec
physical_plan_clickbench_q60 1.00 1596.4Β±5.87Β΅s ? ?/sec 1.00 1589.2Β±4.59Β΅s ? ?/sec
physical_plan_clickbench_q7 1.00 1353.2Β±11.86Β΅s ? ?/sec 1.01 1359.9Β±3.34Β΅s ? ?/sec
physical_plan_clickbench_q8 1.02 1844.3Β±15.58Β΅s ? ?/sec 1.00 1815.1Β±6.07Β΅s ? ?/sec
physical_plan_clickbench_q9 1.00 1743.6Β±6.22Β΅s ? ?/sec 1.01 1766.0Β±4.82Β΅s ? ?/sec
physical_plan_struct_join_agg_sort 1.01 1194.0Β±2.74Β΅s ? ?/sec 1.00 1179.3Β±3.14Β΅s ? ?/sec
physical_plan_tpcds_all 1.07 602.2Β±24.29ms ? ?/sec 1.00 560.2Β±0.59ms ? ?/sec
physical_plan_tpch_all 1.00 39.4Β±0.35ms ? ?/sec 1.00 39.3Β±0.07ms ? ?/sec
physical_plan_tpch_q1 1.01 1366.0Β±2.75Β΅s ? ?/sec 1.00 1354.3Β±2.46Β΅s ? ?/sec
physical_plan_tpch_q10 1.00 2.1Β±0.00ms ? ?/sec 1.00 2.1Β±0.00ms ? ?/sec
physical_plan_tpch_q11 1.01 2.1Β±0.02ms ? ?/sec 1.00 2.0Β±0.00ms ? ?/sec
physical_plan_tpch_q12 1.02 1227.6Β±11.09Β΅s ? ?/sec 1.00 1207.6Β±2.61Β΅s ? ?/sec
physical_plan_tpch_q13 1.02 984.6Β±3.55Β΅s ? ?/sec 1.00 965.4Β±1.72Β΅s ? ?/sec
physical_plan_tpch_q14 1.01 1241.4Β±3.28Β΅s ? ?/sec 1.00 1225.7Β±3.85Β΅s ? ?/sec
physical_plan_tpch_q16 1.01 1515.2Β±2.70Β΅s ? ?/sec 1.00 1504.2Β±3.07Β΅s ? ?/sec
physical_plan_tpch_q17 1.03 1519.9Β±3.54Β΅s ? ?/sec 1.00 1481.1Β±3.34Β΅s ? ?/sec
physical_plan_tpch_q18 1.00 1695.9Β±3.40Β΅s ? ?/sec 1.01 1704.8Β±3.83Β΅s ? ?/sec
physical_plan_tpch_q19 1.00 1950.3Β±2.79Β΅s ? ?/sec 1.00 1946.2Β±3.14Β΅s ? ?/sec
physical_plan_tpch_q2 1.00 3.2Β±0.00ms ? ?/sec 1.00 3.2Β±0.01ms ? ?/sec
physical_plan_tpch_q20 1.01 1946.4Β±2.87Β΅s ? ?/sec 1.00 1929.8Β±4.29Β΅s ? ?/sec
physical_plan_tpch_q21 1.00 2.4Β±0.00ms ? ?/sec 1.00 2.4Β±0.00ms ? ?/sec
physical_plan_tpch_q22 1.01 1476.4Β±3.05Β΅s ? ?/sec 1.00 1459.8Β±8.73Β΅s ? ?/sec
physical_plan_tpch_q3 1.00 1591.0Β±2.47Β΅s ? ?/sec 1.00 1588.1Β±13.36Β΅s ? ?/sec
physical_plan_tpch_q4 1.02 1064.4Β±3.57Β΅s ? ?/sec 1.00 1046.6Β±10.38Β΅s ? ?/sec
physical_plan_tpch_q5 1.01 2.2Β±0.01ms ? ?/sec 1.00 2.1Β±0.02ms ? ?/sec
physical_plan_tpch_q6 1.03 596.2Β±1.35Β΅s ? ?/sec 1.00 579.4Β±1.24Β΅s ? ?/sec
physical_plan_tpch_q7 1.02 2.5Β±0.00ms ? ?/sec 1.00 2.4Β±0.00ms ? ?/sec
physical_plan_tpch_q8 1.00 3.3Β±0.00ms ? ?/sec 1.00 3.3Β±0.01ms ? ?/sec
physical_plan_tpch_q9 1.00 2.5Β±0.00ms ? ?/sec 1.00 2.5Β±0.00ms ? ?/sec
physical_select_aggregates_from_200 1.00 7.5Β±0.02ms ? ?/sec 1.00 7.5Β±0.01ms ? ?/sec
physical_select_all_from_1000 1.00 17.7Β±0.05ms ? ?/sec 1.00 17.7Β±0.05ms ? ?/sec
physical_select_one_from_700 1.01 648.3Β±3.42Β΅s ? ?/sec 1.00 643.7Β±4.28Β΅s ? ?/sec
physical_sorted_union_order_by_10_int64 1.00 3.5Β±0.03ms ? ?/sec 1.00 3.5Β±0.01ms ? ?/sec
physical_sorted_union_order_by_10_uint64 1.00 6.7Β±0.01ms ? ?/sec 1.00 6.7Β±0.01ms ? ?/sec
physical_sorted_union_order_by_50_int64 1.00 77.8Β±0.30ms ? ?/sec 1.01 78.4Β±0.28ms ? ?/sec
physical_sorted_union_order_by_50_uint64 1.00 253.3Β±0.87ms ? ?/sec 1.01 256.6Β±1.24ms ? ?/sec
physical_theta_join_consider_sort 1.00 980.0Β±1.86Β΅s ? ?/sec 1.01 993.3Β±2.58Β΅s ? ?/sec
physical_unnest_to_join 1.00 550.4Β±2.56Β΅s ? ?/sec 1.01 556.7Β±1.86Β΅s ? ?/sec
physical_window_function_partition_by_12_on_values 1.01 635.7Β±1.70Β΅s ? ?/sec 1.00 627.0Β±2.01Β΅s ? ?/sec
physical_window_function_partition_by_30_on_values 1.01 1201.0Β±3.37Β΅s ? ?/sec 1.00 1188.9Β±1.88Β΅s ? ?/sec
physical_window_function_partition_by_4_on_values 1.06 416.2Β±1.05Β΅s ? ?/sec 1.00 392.9Β±1.30Β΅s ? ?/sec
physical_window_function_partition_by_7_on_values 1.01 485.8Β±1.28Β΅s ? ?/sec 1.00 482.7Β±1.07Β΅s ? ?/sec
physical_window_function_partition_by_8_on_values 1.03 518.1Β±2.13Β΅s ? ?/sec 1.00 501.2Β±1.16Β΅s ? ?/sec
with_param_values_many_columns 1.00 376.4Β±1.53Β΅s ? ?/sec 1.00 378.1Β±1.88Β΅s ? ?/sec
```
</p>
</details>
<details><summary>Resource Usage</summary>
**sql_planner β base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 1945.4s |
| Peak memory | 143.1 MiB |
| Avg memory | 97.0 MiB |
| CPU user | 1976.2s |
| CPU sys | 1.5s |
| Peak spill | 0 B |
**sql_planner β branch**
| Metric | Value |
|--------|-------|
| Wall time | 1940.4s |
| Peak memory | 143.4 MiB |
| Avg memory | 97.6 MiB |
| CPU user | 1974.4s |
| CPU sys | 1.6s |
| Peak spill | 0 B |
</details>
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "kumarUjjawal (via GitHub)" <gi...@apache.org>.
kumarUjjawal commented on code in PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#discussion_r4129965303
##########
datafusion/physical-plan/src/joins/utils.rs:
##########
@@ -514,45 +517,99 @@ fn estimate_join_cardinality(
match join_type {
JoinType::Inner | JoinType::Left | JoinType::Right | JoinType::Full => {
- let ij_cardinality = estimate_inner_join_cardinality(
- Statistics {
- num_rows: left_stats.num_rows,
- total_byte_size: Precision::Absent,
- column_statistics: left_key_stats,
- },
- Statistics {
- num_rows: right_stats.num_rows,
- total_byte_size: Precision::Absent,
- column_statistics: right_key_stats,
- },
- )?;
-
- // The cardinality for inner join can also be used to estimate
- // the cardinality of left/right/full outer joins as long as it
- // it is greater than the minimum cardinality constraints of these
- // joins (so that we don't underestimate the cardinality).
- let cardinality = match join_type {
- JoinType::Inner => ij_cardinality,
- JoinType::Left => ij_cardinality.max(&left_stats.num_rows),
- JoinType::Right => ij_cardinality.max(&right_stats.num_rows),
- JoinType::Full => ij_cardinality
- .max(&left_stats.num_rows)
- .add(&ij_cardinality.max(&right_stats.num_rows))
- .sub(&ij_cardinality),
- _ => unreachable!(),
+ let left_keys_stats = Statistics {
+ num_rows: left_stats.num_rows,
+ total_byte_size: Precision::Absent,
+ column_statistics: left_key_stats,
+ };
+ let right_keys_stats = Statistics {
+ num_rows: right_stats.num_rows,
+ total_byte_size: Precision::Absent,
+ column_statistics: right_key_stats,
+ };
+ // For a single null-safe key, every left NULL matches every right
+ // NULL. With more keys their correlation is unknown.
+ let null_matches =
+ if null_equality == NullEquality::NullEqualsNull && on.len() == 1 {
+ left_keys_stats.column_statistics[0]
+ .null_count
+ .multiply(&right_keys_stats.column_statistics[0].null_count)
+ .to_inexact()
+ } else {
+ Precision::Absent
+ };
+ let inner_rows =
+ *estimate_inner_join_cardinality(&left_keys_stats, &right_keys_stats)?
+ .get_value()?;
+ let inner_rows =
+ inner_rows.max(null_matches.get_value().copied().unwrap_or(0));
+ let left_rows = left_stats.num_rows.get_value().copied();
+ let right_rows = right_stats.num_rows.get_value().copied();
+ let left_preserved = matches!(join_type, JoinType::Left | JoinType::Full);
+ let right_preserved = matches!(join_type, JoinType::Right | JoinType::Full);
+ let unmatched_left = if left_preserved {
+ estimate_join_unmatched_rows(
+ &left_keys_stats,
+ &right_keys_stats,
+ inner_rows,
+ null_equality,
+ )?
+ } else {
+ 0
+ };
+ let unmatched_right = if right_preserved {
+ estimate_join_unmatched_rows(
+ &right_keys_stats,
+ &left_keys_stats,
+ inner_rows,
+ null_equality,
+ )?
+ } else {
+ 0
};
+ let left_side = JoinSideRows {
+ input: left_rows,
+ own: inner_rows.saturating_add(unmatched_left),
+ padded: right_preserved.then_some(unmatched_right),
+ preserved: left_preserved,
+ };
+ let right_side = JoinSideRows {
+ input: right_rows,
+ own: inner_rows.saturating_add(unmatched_right),
+ padded: left_preserved.then_some(unmatched_left),
+ preserved: right_preserved,
+ };
+ let mut left_column_statistics = left_stats.column_statistics;
+ let mut right_column_statistics = right_stats.column_statistics;
+ let (left_keys, right_keys): (Vec<_>, Vec<_>) =
+ on_column_indices.iter().flatten().copied().unzip();
+ estimate_join_null_counts(
+ &mut left_column_statistics,
+ &left_side,
+ &left_keys,
+ null_equality,
+ null_matches,
+ );
+ estimate_join_null_counts(
+ &mut right_column_statistics,
+ &right_side,
+ &right_keys,
+ null_equality,
+ null_matches,
+ );
Some(PartialJoinStatistics {
- num_rows: *cardinality.get_value()?,
+ num_rows: inner_rows
Review Comment:
Sounds good!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "gabotechs (via GitHub) via github" <gi...@datafusion.apache.org>.
gabotechs merged PR #25648:
URL: https://github.com/apache/datafusion/pull/25648
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-6342287555
π€ Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-6342213186)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c6342213186-3758-8l9dt 6.12.94+ #1 SMP Fri Aug 21 08:00:16 UTC 2026 aarch64 GNU/Linux`
<details><summary>CPU Details (lscpu)</summary>
```
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 kumar/null-check-statistics (584bc64051b5dc42cc83aa5d987e3648748f21df) to 2717e25 (merge-base) [diff](https://github.com/apache/datafusion/compare/2717e25625ff0c51c1805f8df52d317979db74ec..584bc64051b5dc42cc83aa5d987e3648748f21df)
<details><summary>Run configuration</summary>
```yaml
run benchmark sql_planner
```
</details>
Results will be posted here when complete
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-6342638285
π€ Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-6342213186)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
Comparing kumar/null-check-statistics (584bc64051b5dc42cc83aa5d987e3648748f21df) to 2717e25 (merge-base) [diff](https://github.com/apache/datafusion/compare/2717e25625ff0c51c1805f8df52d317979db74ec..584bc64051b5dc42cc83aa5d987e3648748f21df)
<details><summary>Run configuration</summary>
```yaml
run benchmark compute_statistics
```
</details>
<details><summary>CPU Details (lscpu)</summary>
```
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>
<details><summary>Details</summary>
<p>
```
group HEAD kumar_null-check-statistics
----- ---- ---------------------------
compute_statistics_coalesce_chain/cached/10 1.01 2.5Β±0.01Β΅s ? ?/sec 1.00 2.4Β±0.01Β΅s ? ?/sec
compute_statistics_coalesce_chain/cached/20 1.00 6.5Β±0.03Β΅s ? ?/sec 1.00 6.4Β±0.02Β΅s ? ?/sec
compute_statistics_coalesce_chain/cached/50 1.00 17.6Β±0.07Β΅s ? ?/sec 1.00 17.5Β±0.04Β΅s ? ?/sec
compute_statistics_coalesce_chain/no_shared_cache/10 1.00 16.1Β±0.01Β΅s ? ?/sec 1.00 16.1Β±0.03Β΅s ? ?/sec
compute_statistics_coalesce_chain/no_shared_cache/20 1.00 65.3Β±0.07Β΅s ? ?/sec 1.00 65.2Β±0.08Β΅s ? ?/sec
compute_statistics_coalesce_chain/no_shared_cache/50 1.00 442.7Β±0.44Β΅s ? ?/sec 1.00 441.1Β±0.41Β΅s ? ?/sec
compute_statistics_cross_join_tree/cached/depth=3_leaves=8 1.00 4.8Β±0.03Β΅s ? ?/sec 1.00 4.8Β±0.01Β΅s ? ?/sec
compute_statistics_cross_join_tree/cached/depth=5_leaves=32 1.00 28.1Β±0.07Β΅s ? ?/sec 1.00 28.1Β±0.13Β΅s ? ?/sec
compute_statistics_cross_join_tree/cached/depth=7_leaves=128 1.00 125.3Β±0.27Β΅s ? ?/sec 1.00 124.9Β±0.38Β΅s ? ?/sec
compute_statistics_cross_join_tree/no_shared_cache/depth=3_leaves=8 1.00 11.9Β±0.02Β΅s ? ?/sec 1.01 12.0Β±0.04Β΅s ? ?/sec
compute_statistics_cross_join_tree/no_shared_cache/depth=5_leaves=32 1.00 102.2Β±0.21Β΅s ? ?/sec 1.00 102.4Β±0.34Β΅s ? ?/sec
compute_statistics_cross_join_tree/no_shared_cache/depth=7_leaves=128 1.01 657.5Β±1.15Β΅s ? ?/sec 1.00 653.5Β±0.83Β΅s ? ?/sec
compute_statistics_filter_chain/cached_overall/10 1.00 4.7Β±0.02Β΅s ? ?/sec 1.04 4.9Β±0.01Β΅s ? ?/sec
compute_statistics_filter_chain/cached_overall/20 1.00 10.0Β±0.04Β΅s ? ?/sec 1.02 10.2Β±0.01Β΅s ? ?/sec
compute_statistics_filter_chain/cached_overall/50 1.00 25.7Β±0.08Β΅s ? ?/sec 1.03 26.5Β±0.04Β΅s ? ?/sec
compute_statistics_filter_chain/cached_partition/10 1.00 4.9Β±0.01Β΅s ? ?/sec 1.03 5.1Β±0.01Β΅s ? ?/sec
compute_statistics_filter_chain/cached_partition/20 1.00 10.3Β±0.02Β΅s ? ?/sec 1.02 10.5Β±0.02Β΅s ? ?/sec
compute_statistics_filter_chain/cached_partition/50 1.00 26.2Β±0.06Β΅s ? ?/sec 1.03 27.1Β±0.09Β΅s ? ?/sec
compute_statistics_filter_chain/no_shared_cache/10 1.00 26.3Β±0.02Β΅s ? ?/sec 1.04 27.4Β±0.05Β΅s ? ?/sec
compute_statistics_filter_chain/no_shared_cache/20 1.00 103.9Β±0.07Β΅s ? ?/sec 1.03 106.7Β±0.13Β΅s ? ?/sec
compute_statistics_filter_chain/no_shared_cache/50 1.00 658.4Β±0.85Β΅s ? ?/sec 1.03 677.2Β±0.52Β΅s ? ?/sec
compute_statistics_mixed_chain/cached/15 1.00 6.7Β±0.03Β΅s ? ?/sec 1.03 6.9Β±0.01Β΅s ? ?/sec
compute_statistics_mixed_chain/cached/30 1.00 14.1Β±0.06Β΅s ? ?/sec 1.01 14.3Β±0.03Β΅s ? ?/sec
compute_statistics_mixed_chain/cached/9 1.00 3.9Β±0.01Β΅s ? ?/sec 1.03 4.0Β±0.01Β΅s ? ?/sec
compute_statistics_mixed_chain/no_shared_cache/15 1.00 52.4Β±0.16Β΅s ? ?/sec 1.03 54.1Β±0.15Β΅s ? ?/sec
compute_statistics_mixed_chain/no_shared_cache/30 1.00 211.4Β±0.62Β΅s ? ?/sec 1.01 214.4Β±0.19Β΅s ? ?/sec
compute_statistics_mixed_chain/no_shared_cache/9 1.00 19.6Β±0.02Β΅s ? ?/sec 1.03 20.2Β±0.03Β΅s ? ?/sec
```
</p>
</details>
<details><summary>Resource Usage</summary>
**compute_statistics β base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 490.1s |
| Peak memory | 37.2 MiB |
| Avg memory | 18.0 MiB |
| CPU user | 328.4s |
| CPU sys | 0.3s |
| Peak spill | 0 B |
**compute_statistics β branch**
| Metric | Value |
|--------|-------|
| Wall time | 480.1s |
| Peak memory | 34.2 MiB |
| Avg memory | 17.1 MiB |
| CPU user | 331.2s |
| CPU sys | 0.3s |
| Peak spill | 0 B |
</details>
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-5795614349
π€ Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/25648#issuecomment-5795421755)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
Comparing kumar/null-check-statistics (227581d74c5c90ba06c26fd374c00ee9228bcf66) to 714956b (merge-base) [diff](https://github.com/apache/datafusion/compare/714956b3a8aed43e8abd27ed400710417d231982..227581d74c5c90ba06c26fd374c00ee9228bcf66)
<details><summary>Run configuration</summary>
```yaml
run benchmark tpcds
```
</details>
<details><summary>CPU Details (lscpu)</summary>
```
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>
<details><summary>Details</summary>
<p>
```
Comparing HEAD and kumar_null-check-statistics
--------------------
Benchmark tpcds_sf1.json
--------------------
βββββββββββββ³βββββββββββββ³ββββββββββββββββββββββββββββββ³ββββββββββββββββ
β Query β HEAD β kumar_null-check-statistics β Change β
β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β QQuery 1 β 5.38 ms β 6.11 ms β 1.14x slower β
β QQuery 2 β 80.74 ms β 83.86 ms β no change β
β QQuery 3 β 28.59 ms β 29.75 ms β no change β
β QQuery 4 β 435.95 ms β 428.64 ms β no change β
β QQuery 5 β 50.68 ms β 51.23 ms β no change β
β QQuery 6 β 35.11 ms β 34.89 ms β no change β
β QQuery 7 β 74.00 ms β 73.11 ms β no change β
β QQuery 8 β 36.32 ms β 35.70 ms β no change β
β QQuery 9 β 52.15 ms β 52.54 ms β no change β
β QQuery 10 β 61.78 ms β 61.04 ms β no change β
β QQuery 11 β 269.48 ms β 259.81 ms β no change β
β QQuery 12 β 28.53 ms β 27.91 ms β no change β
β QQuery 13 β 117.04 ms β 116.83 ms β no change β
β QQuery 14 β 410.24 ms β 392.83 ms β no change β
β QQuery 15 β 63.57 ms β 53.19 ms β +1.20x faster β
β QQuery 16 β 7.38 ms β 6.39 ms β +1.16x faster β
β QQuery 17 β 77.39 ms β 78.77 ms β no change β
β QQuery 18 β 103.30 ms β 102.97 ms β no change β
β QQuery 19 β 41.42 ms β 41.34 ms β no change β
β QQuery 20 β 35.30 ms β 35.26 ms β no change β
β QQuery 21 β 16.87 ms β 16.81 ms β no change β
β QQuery 22 β 63.07 ms β 62.34 ms β no change β
β QQuery 23 β 307.69 ms β 305.45 ms β no change β
β QQuery 24 β 189.09 ms β 188.72 ms β no change β
β QQuery 25 β 106.81 ms β 106.45 ms β no change β
β QQuery 26 β 46.98 ms β 47.29 ms β no change β
β QQuery 27 β 5.83 ms β 5.89 ms β no change β
β QQuery 28 β 60.87 ms β 60.36 ms β no change β
β QQuery 29 β 93.93 ms β 93.69 ms β no change β
β QQuery 30 β 32.34 ms β 31.89 ms β no change β
β QQuery 31 β 107.42 ms β 107.62 ms β no change β
β QQuery 32 β 20.00 ms β 19.69 ms β no change β
β QQuery 33 β 36.95 ms β 37.18 ms β no change β
β QQuery 34 β 9.82 ms β 9.64 ms β no change β
β QQuery 35 β 70.63 ms β 71.35 ms β no change β
β QQuery 36 β 5.60 ms β 5.55 ms β no change β
β QQuery 37 β 6.73 ms β 6.74 ms β no change β
β QQuery 38 β 60.33 ms β 59.43 ms β no change β
β QQuery 39 β 72.58 ms β 73.41 ms β no change β
β QQuery 40 β 23.17 ms β 23.00 ms β no change β
β QQuery 41 β 11.00 ms β 11.08 ms β no change β
β QQuery 42 β 23.52 ms β 23.66 ms β no change β
β QQuery 43 β 5.09 ms β 5.02 ms β no change β
β QQuery 44 β 8.96 ms β 8.87 ms β no change β
β QQuery 45 β 37.02 ms β 40.31 ms β 1.09x slower β
β QQuery 46 β 11.52 ms β 12.37 ms β 1.07x slower β
β QQuery 47 β 218.19 ms β 273.54 ms β 1.25x slower β
β QQuery 48 β 95.37 ms β 99.18 ms β no change β
β QQuery 49 β 69.49 ms β 74.14 ms β 1.07x slower β
β QQuery 50 β 57.60 ms β 57.65 ms β no change β
β QQuery 51 β 92.00 ms β 93.92 ms β no change β
β QQuery 52 β 23.97 ms β 24.94 ms β no change β
β QQuery 53 β 28.20 ms β 29.76 ms β 1.06x slower β
β QQuery 54 β 53.72 ms β 53.93 ms β no change β
β QQuery 55 β 23.46 ms β 23.21 ms β no change β
β QQuery 56 β 37.99 ms β 38.42 ms β no change β
β QQuery 57 β 168.21 ms β 168.10 ms β no change β
β QQuery 58 β 109.38 ms β 107.99 ms β no change β
β QQuery 59 β 117.10 ms β 116.65 ms β no change β
β QQuery 60 β 38.14 ms β 39.09 ms β no change β
β QQuery 61 β 11.39 ms β 11.60 ms β no change β
β QQuery 62 β 46.98 ms β 43.76 ms β +1.07x faster β
β QQuery 63 β 29.54 ms β 28.98 ms β no change β
β QQuery 64 β 358.98 ms β 351.94 ms β no change β
β QQuery 65 β 132.70 ms β 129.54 ms β no change β
β QQuery 66 β 78.59 ms β 76.18 ms β no change β
β QQuery 67 β 254.92 ms β 237.83 ms β +1.07x faster β
β QQuery 68 β 12.59 ms β 11.66 ms β +1.08x faster β
β QQuery 69 β 58.09 ms β 55.90 ms β no change β
β QQuery 70 β 109.06 ms β 103.18 ms β +1.06x faster β
β QQuery 71 β 36.76 ms β 34.73 ms β +1.06x faster β
β QQuery 72 β 1780.81 ms β 1699.53 ms β no change β
β QQuery 73 β 10.27 ms β 11.26 ms β 1.10x slower β
β QQuery 74 β 151.99 ms β 196.38 ms β 1.29x slower β
β QQuery 75 β 142.24 ms β 152.97 ms β 1.08x slower β
β QQuery 76 β 35.35 ms β 37.13 ms β 1.05x slower β
β QQuery 77 β 62.36 ms β 65.19 ms β no change β
β QQuery 78 β 160.82 ms β 304.47 ms β 1.89x slower β
β QQuery 79 β 65.88 ms β 71.43 ms β 1.08x slower β
β QQuery 80 β 94.71 ms β 102.76 ms β 1.08x slower β
β QQuery 81 β 25.44 ms β 28.46 ms β 1.12x slower β
β QQuery 82 β 16.24 ms β 18.09 ms β 1.11x slower β
β QQuery 83 β 33.49 ms β 35.84 ms β 1.07x slower β
β QQuery 84 β 29.31 ms β 31.14 ms β 1.06x slower β
β QQuery 85 β 103.26 ms β 104.26 ms β no change β
β QQuery 86 β 25.45 ms β 26.53 ms β no change β
β QQuery 87 β 60.57 ms β 65.07 ms β 1.07x slower β
β QQuery 88 β 61.04 ms β 62.13 ms β no change β
β QQuery 89 β 35.07 ms β 35.81 ms β no change β
β QQuery 90 β 16.32 ms β 16.83 ms β no change β
β QQuery 91 β 43.74 ms β 43.89 ms β no change β
β QQuery 92 β 28.60 ms β 29.80 ms β no change β
β QQuery 93 β 48.61 ms β 48.39 ms β no change β
β QQuery 94 β 38.53 ms β 38.37 ms β no change β
β QQuery 95 β 78.95 ms β 80.51 ms β no change β
β QQuery 96 β 23.49 ms β 24.42 ms β no change β
β QQuery 97 β 50.56 ms β 51.96 ms β no change β
β QQuery 98 β 42.32 ms β 44.74 ms β 1.06x slower β
β QQuery 99 β 66.20 ms β 67.42 ms β no change β
βββββββββββββ΄βββββββββββββ΄ββββββββββββββββββββββββββββββ΄ββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββ³ββββββββββββ
β Benchmark Summary β β
β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β Total Time (HEAD) β 9042.18ms β
β Total Time (kumar_null-check-statistics) β 9186.53ms β
β Average Time (HEAD) β 91.34ms β
β Average Time (kumar_null-check-statistics) β 92.79ms β
β Queries Faster β 7 β
β Queries Slower β 19 β
β Queries with No Change β 73 β
β Queries with Failure β 0 β
ββββββββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββ
Distribution per query (min / mean Β±stddev / max):
Comparing HEAD and kumar_null-check-statistics
--------------------
Benchmark tpcds_sf1.json
--------------------
βββββββββββββ³ββββββββββββββββββββββββββββββββββββββββ³βββββββββββββββββββββββββββββββββββββββββ³ββββββββββββββββ
β Query β HEAD β kumar_null-check-statistics β Change β
β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β QQuery 1 β 5.38 / 6.05 Β±1.04 / 8.12 ms β 6.11 / 6.65 Β±0.94 / 8.52 ms β 1.10x slower β
β QQuery 2 β 80.74 / 81.04 Β±0.21 / 81.24 ms β 83.86 / 84.29 Β±0.30 / 84.79 ms β no change β
β QQuery 3 β 28.59 / 28.90 Β±0.21 / 29.17 ms β 29.75 / 30.43 Β±0.42 / 30.99 ms β 1.05x slower β
β QQuery 4 β 435.95 / 439.48 Β±2.18 / 442.31 ms β 428.64 / 446.16 Β±26.70 / 499.36 ms β no change β
β QQuery 5 β 50.68 / 51.12 Β±0.37 / 51.71 ms β 51.23 / 51.67 Β±0.41 / 52.16 ms β no change β
β QQuery 6 β 35.11 / 35.59 Β±0.39 / 36.10 ms β 34.89 / 35.23 Β±0.28 / 35.57 ms β no change β
β QQuery 7 β 74.00 / 74.59 Β±0.70 / 75.56 ms β 73.11 / 73.97 Β±0.68 / 75.13 ms β no change β
β QQuery 8 β 36.32 / 36.42 Β±0.09 / 36.55 ms β 35.70 / 35.96 Β±0.22 / 36.22 ms β no change β
β QQuery 9 β 52.15 / 53.44 Β±1.18 / 55.34 ms β 52.54 / 53.74 Β±0.98 / 55.16 ms β no change β
β QQuery 10 β 61.78 / 61.98 Β±0.15 / 62.22 ms β 61.04 / 61.74 Β±0.54 / 62.36 ms β no change β
β QQuery 11 β 269.48 / 271.92 Β±2.00 / 274.29 ms β 259.81 / 264.84 Β±3.46 / 270.68 ms β no change β
β QQuery 12 β 28.53 / 28.98 Β±0.31 / 29.46 ms β 27.91 / 28.31 Β±0.26 / 28.61 ms β no change β
β QQuery 13 β 117.04 / 119.27 Β±2.55 / 123.91 ms β 116.83 / 118.52 Β±2.28 / 122.99 ms β no change β
β QQuery 14 β 410.24 / 415.28 Β±3.30 / 420.05 ms β 392.83 / 396.52 Β±2.11 / 398.75 ms β no change β
β QQuery 15 β 63.57 / 64.94 Β±1.16 / 66.43 ms β 53.19 / 55.66 Β±2.12 / 59.60 ms β +1.17x faster β
β QQuery 16 β 7.38 / 7.68 Β±0.42 / 8.51 ms β 6.39 / 6.65 Β±0.26 / 7.10 ms β +1.15x faster β
β QQuery 17 β 77.39 / 80.30 Β±2.38 / 83.57 ms β 78.77 / 79.70 Β±1.17 / 82.00 ms β no change β
β QQuery 18 β 103.30 / 104.37 Β±1.00 / 105.76 ms β 102.97 / 104.13 Β±0.67 / 104.89 ms β no change β
β QQuery 19 β 41.42 / 41.92 Β±0.45 / 42.76 ms β 41.34 / 41.69 Β±0.21 / 41.98 ms β no change β
β QQuery 20 β 35.30 / 36.36 Β±1.22 / 38.74 ms β 35.26 / 36.38 Β±1.71 / 39.79 ms β no change β
β QQuery 21 β 16.87 / 17.18 Β±0.25 / 17.63 ms β 16.81 / 16.99 Β±0.16 / 17.18 ms β no change β
β QQuery 22 β 63.07 / 65.29 Β±2.27 / 69.28 ms β 62.34 / 62.89 Β±0.38 / 63.43 ms β no change β
β QQuery 23 β 307.69 / 314.74 Β±7.86 / 327.08 ms β 305.45 / 311.22 Β±6.20 / 321.72 ms β no change β
β QQuery 24 β 189.09 / 192.60 Β±3.75 / 199.88 ms β 188.72 / 191.54 Β±2.07 / 194.56 ms β no change β
β QQuery 25 β 106.81 / 108.17 Β±0.87 / 109.14 ms β 106.45 / 107.18 Β±0.51 / 108.01 ms β no change β
β QQuery 26 β 46.98 / 47.31 Β±0.20 / 47.55 ms β 47.29 / 49.58 Β±3.27 / 56.05 ms β no change β
β QQuery 27 β 5.83 / 5.97 Β±0.17 / 6.31 ms β 5.89 / 6.06 Β±0.22 / 6.48 ms β no change β
β QQuery 28 β 60.87 / 61.52 Β±0.69 / 62.82 ms β 60.36 / 61.30 Β±0.92 / 63.03 ms β no change β
β QQuery 29 β 93.93 / 97.18 Β±2.31 / 101.00 ms β 93.69 / 95.54 Β±2.16 / 99.10 ms β no change β
β QQuery 30 β 32.34 / 32.66 Β±0.25 / 32.96 ms β 31.89 / 34.81 Β±3.30 / 41.15 ms β 1.07x slower β
β QQuery 31 β 107.42 / 109.55 Β±2.96 / 115.44 ms β 107.62 / 108.53 Β±0.73 / 109.80 ms β no change β
β QQuery 32 β 20.00 / 20.32 Β±0.26 / 20.77 ms β 19.69 / 20.07 Β±0.23 / 20.39 ms β no change β
β QQuery 33 β 36.95 / 37.60 Β±0.60 / 38.67 ms β 37.18 / 37.35 Β±0.15 / 37.61 ms β no change β
β QQuery 34 β 9.82 / 10.18 Β±0.23 / 10.40 ms β 9.64 / 11.61 Β±2.83 / 17.14 ms β 1.14x slower β
β QQuery 35 β 70.63 / 71.73 Β±0.65 / 72.41 ms β 71.35 / 72.44 Β±0.82 / 73.83 ms β no change β
β QQuery 36 β 5.60 / 5.75 Β±0.19 / 6.11 ms β 5.55 / 5.70 Β±0.20 / 6.09 ms β no change β
β QQuery 37 β 6.73 / 6.80 Β±0.06 / 6.91 ms β 6.74 / 7.51 Β±1.35 / 10.21 ms β 1.10x slower β
β QQuery 38 β 60.33 / 61.46 Β±1.42 / 64.07 ms β 59.43 / 60.94 Β±0.91 / 62.17 ms β no change β
β QQuery 39 β 72.58 / 73.21 Β±0.43 / 73.90 ms β 73.41 / 74.75 Β±1.25 / 77.04 ms β no change β
β QQuery 40 β 23.17 / 23.61 Β±0.35 / 24.21 ms β 23.00 / 23.41 Β±0.39 / 24.15 ms β no change β
β QQuery 41 β 11.00 / 11.17 Β±0.13 / 11.37 ms β 11.08 / 11.23 Β±0.11 / 11.36 ms β no change β
β QQuery 42 β 23.52 / 23.81 Β±0.17 / 24.05 ms β 23.66 / 23.84 Β±0.28 / 24.39 ms β no change β
β QQuery 43 β 5.09 / 5.21 Β±0.18 / 5.57 ms β 5.02 / 5.58 Β±0.99 / 7.55 ms β 1.07x slower β
β QQuery 44 β 8.96 / 9.15 Β±0.14 / 9.36 ms β 8.87 / 9.05 Β±0.12 / 9.20 ms β no change β
β QQuery 45 β 37.02 / 38.73 Β±2.60 / 43.91 ms β 40.31 / 44.74 Β±2.63 / 48.13 ms β 1.16x slower β
β QQuery 46 β 11.52 / 11.98 Β±0.37 / 12.46 ms β 12.37 / 12.83 Β±0.39 / 13.41 ms β 1.07x slower β
β QQuery 47 β 218.19 / 222.05 Β±4.36 / 230.53 ms β 273.54 / 275.38 Β±1.52 / 277.35 ms β 1.24x slower β
β QQuery 48 β 95.37 / 96.13 Β±0.64 / 97.01 ms β 99.18 / 100.08 Β±0.64 / 100.78 ms β no change β
β QQuery 49 β 69.49 / 71.96 Β±3.52 / 78.94 ms β 74.14 / 76.68 Β±4.11 / 84.88 ms β 1.07x slower β
β QQuery 50 β 57.60 / 58.49 Β±0.56 / 59.14 ms β 57.65 / 61.06 Β±1.89 / 62.82 ms β no change β
β QQuery 51 β 92.00 / 93.65 Β±1.55 / 96.40 ms β 93.92 / 96.25 Β±1.81 / 99.42 ms β no change β
β QQuery 52 β 23.97 / 24.12 Β±0.11 / 24.24 ms β 24.94 / 25.26 Β±0.41 / 26.05 ms β no change β
β QQuery 53 β 28.20 / 30.28 Β±3.34 / 36.93 ms β 29.76 / 31.92 Β±3.61 / 39.12 ms β 1.05x slower β
β QQuery 54 β 53.72 / 54.59 Β±0.60 / 55.46 ms β 53.93 / 54.51 Β±0.53 / 55.36 ms β no change β
β QQuery 55 β 23.46 / 23.79 Β±0.29 / 24.15 ms β 23.21 / 23.57 Β±0.28 / 23.91 ms β no change β
β QQuery 56 β 37.99 / 38.76 Β±0.72 / 40.03 ms β 38.42 / 38.81 Β±0.21 / 39.01 ms β no change β
β QQuery 57 β 168.21 / 170.08 Β±2.38 / 174.75 ms β 168.10 / 169.39 Β±1.53 / 171.99 ms β no change β
β QQuery 58 β 109.38 / 111.71 Β±1.65 / 114.34 ms β 107.99 / 110.11 Β±3.02 / 116.07 ms β no change β
β QQuery 59 β 117.10 / 117.80 Β±0.37 / 118.17 ms β 116.65 / 117.31 Β±0.61 / 118.25 ms β no change β
β QQuery 60 β 38.14 / 38.66 Β±0.43 / 39.13 ms β 39.09 / 39.41 Β±0.33 / 39.84 ms β no change β
β QQuery 61 β 11.39 / 11.76 Β±0.32 / 12.36 ms β 11.60 / 11.79 Β±0.17 / 12.10 ms β no change β
β QQuery 62 β 46.98 / 48.64 Β±2.96 / 54.54 ms β 43.76 / 45.79 Β±2.44 / 50.58 ms β +1.06x faster β
β QQuery 63 β 29.54 / 30.88 Β±0.77 / 31.71 ms β 28.98 / 29.26 Β±0.23 / 29.65 ms β +1.06x faster β
β QQuery 64 β 358.98 / 376.86 Β±13.07 / 391.39 ms β 351.94 / 356.94 Β±4.35 / 363.17 ms β +1.06x faster β
β QQuery 65 β 132.70 / 139.05 Β±4.51 / 145.28 ms β 129.54 / 133.06 Β±2.06 / 135.93 ms β no change β
β QQuery 66 β 78.59 / 84.31 Β±2.92 / 86.62 ms β 76.18 / 79.21 Β±5.71 / 90.62 ms β +1.06x faster β
β QQuery 67 β 254.92 / 284.07 Β±15.81 / 300.56 ms β 237.83 / 242.30 Β±3.63 / 247.75 ms β +1.17x faster β
β QQuery 68 β 12.59 / 12.93 Β±0.24 / 13.22 ms β 11.66 / 11.86 Β±0.23 / 12.18 ms β +1.09x faster β
β QQuery 69 β 58.09 / 59.25 Β±0.86 / 60.63 ms β 55.90 / 56.58 Β±0.44 / 57.12 ms β no change β
β QQuery 70 β 109.06 / 113.50 Β±5.58 / 123.61 ms β 103.18 / 107.58 Β±5.55 / 117.98 ms β +1.06x faster β
β QQuery 71 β 36.76 / 37.49 Β±0.46 / 38.19 ms β 34.73 / 35.60 Β±0.98 / 37.48 ms β +1.05x faster β
β QQuery 72 β 1780.81 / 1866.10 Β±81.41 / 1966.06 ms β 1699.53 / 1906.56 Β±144.06 / 2043.10 ms β no change β
β QQuery 73 β 10.27 / 11.02 Β±0.63 / 11.84 ms β 11.26 / 11.72 Β±0.46 / 12.55 ms β 1.06x slower β
β QQuery 74 β 151.99 / 159.65 Β±9.79 / 178.52 ms β 196.38 / 199.77 Β±2.39 / 203.34 ms β 1.25x slower β
β QQuery 75 β 142.24 / 145.24 Β±2.29 / 148.84 ms β 152.97 / 155.88 Β±4.13 / 164.05 ms β 1.07x slower β
β QQuery 76 β 35.35 / 35.86 Β±0.35 / 36.23 ms β 37.13 / 37.45 Β±0.24 / 37.70 ms β no change β
β QQuery 77 β 62.36 / 65.08 Β±3.67 / 72.22 ms β 65.19 / 66.89 Β±1.34 / 68.45 ms β no change β
β QQuery 78 β 160.82 / 171.28 Β±7.32 / 179.71 ms β 304.47 / 312.83 Β±11.48 / 335.59 ms β 1.83x slower β
β QQuery 79 β 65.88 / 68.03 Β±2.92 / 73.78 ms β 71.43 / 75.11 Β±7.00 / 89.10 ms β 1.10x slower β
β QQuery 80 β 94.71 / 97.01 Β±1.90 / 99.95 ms β 102.76 / 107.03 Β±2.97 / 112.01 ms β 1.10x slower β
β QQuery 81 β 25.44 / 25.83 Β±0.24 / 26.12 ms β 28.46 / 28.74 Β±0.24 / 29.17 ms β 1.11x slower β
β QQuery 82 β 16.24 / 16.61 Β±0.29 / 17.06 ms β 18.09 / 18.23 Β±0.16 / 18.52 ms β 1.10x slower β
β QQuery 83 β 33.49 / 35.22 Β±3.24 / 41.70 ms β 35.84 / 38.09 Β±4.22 / 46.53 ms β 1.08x slower β
β QQuery 84 β 29.31 / 29.98 Β±0.50 / 30.83 ms β 31.14 / 31.75 Β±0.60 / 32.64 ms β 1.06x slower β
β QQuery 85 β 103.26 / 103.91 Β±0.91 / 105.63 ms β 104.26 / 107.42 Β±3.30 / 112.43 ms β no change β
β QQuery 86 β 25.45 / 25.60 Β±0.13 / 25.82 ms β 26.53 / 26.84 Β±0.26 / 27.20 ms β no change β
β QQuery 87 β 60.57 / 62.04 Β±1.53 / 64.93 ms β 65.07 / 66.12 Β±1.02 / 67.81 ms β 1.07x slower β
β QQuery 88 β 61.04 / 61.67 Β±0.67 / 62.96 ms β 62.13 / 63.09 Β±1.09 / 65.11 ms β no change β
β QQuery 89 β 35.07 / 35.30 Β±0.22 / 35.65 ms β 35.81 / 36.32 Β±0.35 / 36.77 ms β no change β
β QQuery 90 β 16.32 / 16.50 Β±0.16 / 16.77 ms β 16.83 / 17.08 Β±0.20 / 17.40 ms β no change β
β QQuery 91 β 43.74 / 45.54 Β±2.87 / 51.26 ms β 43.89 / 44.28 Β±0.21 / 44.50 ms β no change β
β QQuery 92 β 28.60 / 29.58 Β±0.52 / 29.98 ms β 29.80 / 30.96 Β±1.88 / 34.68 ms β no change β
β QQuery 93 β 48.61 / 49.41 Β±0.60 / 50.45 ms β 48.39 / 49.55 Β±0.93 / 51.22 ms β no change β
β QQuery 94 β 38.53 / 39.13 Β±0.59 / 40.02 ms β 38.37 / 38.84 Β±0.45 / 39.47 ms β no change β
β QQuery 95 β 78.95 / 81.22 Β±2.80 / 86.70 ms β 80.51 / 81.60 Β±0.87 / 82.82 ms β no change β
β QQuery 96 β 23.49 / 23.75 Β±0.25 / 24.15 ms β 24.42 / 26.28 Β±3.38 / 33.03 ms β 1.11x slower β
β QQuery 97 β 50.56 / 51.48 Β±1.19 / 53.81 ms β 51.96 / 53.64 Β±1.44 / 55.85 ms β no change β
β QQuery 98 β 42.32 / 43.17 Β±0.59 / 43.89 ms β 44.74 / 45.46 Β±0.87 / 46.74 ms β 1.05x slower β
β QQuery 99 β 66.20 / 66.70 Β±0.32 / 67.09 ms β 67.42 / 67.69 Β±0.22 / 68.10 ms β no change β
βββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββ³ββββββββββββ
β Benchmark Summary β β
β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β Total Time (HEAD) β 9315.26ms β
β Total Time (kumar_null-check-statistics) β 9553.83ms β
β Average Time (HEAD) β 94.09ms β
β Average Time (kumar_null-check-statistics) β 96.50ms β
β Queries Faster β 10 β
β Queries Slower β 24 β
β Queries with No Change β 65 β
β Queries with Failure β 0 β
ββββββββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**tpcds β base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 50.0s |
| Peak memory | 2.2 GiB |
| Avg memory | 1.5 GiB |
| CPU user | 202.7s |
| CPU sys | 5.7s |
| Peak spill | 0 B |
**tpcds β branch**
| Metric | Value |
|--------|-------|
| Wall time | 50.0s |
| Peak memory | 2.1 GiB |
| Avg memory | 1.4 GiB |
| CPU user | 207.1s |
| CPU sys | 6.1s |
| Peak spill | 0 B |
</details>
---
[File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "kumarUjjawal (via GitHub)" <gi...@apache.org>.
kumarUjjawal commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-5795421755
run benchmark tpcds tpch sql_planner compute_statistics
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] fix: use null counts to estimate IS NULL and IS NOT NULL [datafusion]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #25648:
URL: https://github.com/apache/datafusion/pull/25648#issuecomment-5797929606
## [Codecov](https://app.codecov.io/gh/apache/datafusion/pull/25648?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:x: Patch coverage is `94.72596%` with `51 lines` in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 82.47%. Comparing base ([`714956b`](https://app.codecov.io/gh/apache/datafusion/commit/714956b3a8aed43e8abd27ed400710417d231982?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`227581d`](https://app.codecov.io/gh/apache/datafusion/commit/227581d74c5c90ba06c26fd374c00ee9228bcf66?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 18 commits behind head on main.
| [Files with missing lines](https://app.codecov.io/gh/apache/datafusion/pull/25648?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
|---|---|---|
| [datafusion/physical-plan/src/filter.rs](https://app.codecov.io/gh/apache/datafusion/pull/25648?src=pr&el=tree&filepath=datafusion%2Fphysical-plan%2Fsrc%2Ffilter.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZGF0YWZ1c2lvbi9waHlzaWNhbC1wbGFuL3NyYy9maWx0ZXIucnM=) | 92.63% | [3 Missing and 32 partials :warning: ](https://app.codecov.io/gh/apache/datafusion/pull/25648?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [...usion/physical-plan/src/operator\_statistics/mod.rs](https://app.codecov.io/gh/apache/datafusion/pull/25648?src=pr&el=tree&filepath=datafusion%2Fphysical-plan%2Fsrc%2Foperator_statistics%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZGF0YWZ1c2lvbi9waHlzaWNhbC1wbGFuL3NyYy9vcGVyYXRvcl9zdGF0aXN0aWNzL21vZC5ycw==) | 92.63% | [4 Missing and 8 partials :warning: ](https://app.codecov.io/gh/apache/datafusion/pull/25648?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [datafusion/physical-plan/src/joins/utils.rs](https://app.codecov.io/gh/apache/datafusion/pull/25648?src=pr&el=tree&filepath=datafusion%2Fphysical-plan%2Fsrc%2Fjoins%2Futils.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZGF0YWZ1c2lvbi9waHlzaWNhbC1wbGFuL3NyYy9qb2lucy91dGlscy5ycw==) | 98.78% | [2 Missing and 2 partials :warning: ](https://app.codecov.io/gh/apache/datafusion/pull/25648?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## main #25648 +/- ##
==========================================
+ Coverage 82.42% 82.47% +0.05%
==========================================
Files 1140 1140
Lines 435586 437486 +1900
Branches 435586 437486 +1900
==========================================
+ Hits 359042 360829 +1787
- Misses 54828 54855 +27
- Partials 21716 21802 +86
```
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/datafusion/pull/25648?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org