Implement validity for Between scalar function#7519
Implement validity for Between scalar function#7519robert3005 wants to merge 2 commits intodevelopfrom
Conversation
Signed-off-by: Robert Kruszewski <github@robertk.io>
Polar Signals Profiling ResultsLatest Run
Powered by Polar Signals Cloud |
Benchmarks: PolarSignals ProfilingVortex (geomean): 0.921x ➖ datafusion / vortex-file-compressed (0.921x ➖, 3↑ 0↓)
|
File Sizes: PolarSignals ProfilingNo file size changes detected. |
Benchmarks: FineWeb NVMeVerdict: No clear signal (low confidence) datafusion / vortex-file-compressed (1.035x ➖, 0↑ 2↓)
datafusion / vortex-compact (0.986x ➖, 0↑ 0↓)
datafusion / parquet (0.996x ➖, 0↑ 0↓)
duckdb / vortex-file-compressed (1.028x ➖, 0↑ 1↓)
duckdb / vortex-compact (0.973x ➖, 1↑ 0↓)
duckdb / parquet (1.022x ➖, 0↑ 1↓)
Full attributed analysis
|
File Sizes: FineWeb NVMeNo file size changes detected. |
Benchmarks: TPC-H SF=1 on NVMEVerdict: No clear signal (low confidence) datafusion / vortex-file-compressed (0.973x ➖, 0↑ 0↓)
datafusion / vortex-compact (0.984x ➖, 0↑ 0↓)
datafusion / parquet (0.968x ➖, 2↑ 1↓)
datafusion / arrow (1.006x ➖, 0↑ 1↓)
duckdb / vortex-file-compressed (0.990x ➖, 0↑ 0↓)
duckdb / vortex-compact (0.992x ➖, 0↑ 0↓)
duckdb / parquet (0.954x ➖, 3↑ 0↓)
duckdb / duckdb (0.961x ➖, 2↑ 0↓)
Full attributed analysis
|
File Sizes: TPC-H SF=1 on NVMENo file size changes detected. |
Benchmarks: TPC-DS SF=1 on NVMEVerdict: No clear signal (low confidence) datafusion / vortex-file-compressed (0.781x ✅, 98↑ 0↓)
datafusion / vortex-compact (0.799x ✅, 95↑ 0↓)
datafusion / parquet (0.853x ✅, 83↑ 0↓)
duckdb / vortex-file-compressed (0.868x ✅, 72↑ 0↓)
duckdb / vortex-compact (0.919x ➖, 29↑ 1↓)
duckdb / parquet (0.882x ✅, 56↑ 0↓)
duckdb / duckdb (0.884x ✅, 51↑ 0↓)
Full attributed analysis
|
File Sizes: TPC-DS SF=1 on NVMENo file size changes detected. |
Benchmarks: FineWeb S3Verdict: No clear signal (low confidence) datafusion / vortex-file-compressed (0.904x ➖, 1↑ 1↓)
datafusion / vortex-compact (0.980x ➖, 1↑ 2↓)
datafusion / parquet (0.964x ➖, 0↑ 0↓)
duckdb / vortex-file-compressed (0.997x ➖, 0↑ 0↓)
duckdb / vortex-compact (0.983x ➖, 0↑ 0↓)
duckdb / parquet (0.954x ➖, 0↑ 0↓)
Full attributed analysis
|
Benchmarks: Statistical and Population GeneticsVerdict: No clear signal (low confidence) duckdb / vortex-file-compressed (1.032x ➖, 0↑ 1↓)
duckdb / vortex-compact (0.992x ➖, 0↑ 0↓)
duckdb / parquet (0.984x ➖, 0↑ 0↓)
Full attributed analysis
|
File Sizes: Statistical and Population GeneticsNo file size changes detected. |
Benchmarks: TPC-H SF=10 on NVMEVerdict: No clear signal (low confidence) datafusion / vortex-file-compressed (1.052x ➖, 0↑ 2↓)
datafusion / vortex-compact (1.094x ➖, 0↑ 4↓)
datafusion / parquet (1.029x ➖, 0↑ 0↓)
datafusion / arrow (1.061x ➖, 0↑ 1↓)
duckdb / vortex-file-compressed (1.036x ➖, 0↑ 0↓)
duckdb / vortex-compact (1.033x ➖, 0↑ 0↓)
duckdb / parquet (1.021x ➖, 0↑ 0↓)
duckdb / duckdb (1.014x ➖, 0↑ 0↓)
Full attributed analysis
|
File Sizes: TPC-H SF=10 on NVMENo file size changes detected. |
Benchmarks: TPC-H SF=1 on S3Verdict: No clear signal (environment too noisy confidence) datafusion / vortex-file-compressed (0.922x ➖, 2↑ 1↓)
datafusion / vortex-compact (0.872x ➖, 2↑ 0↓)
datafusion / parquet (0.951x ➖, 1↑ 1↓)
duckdb / vortex-file-compressed (0.958x ➖, 0↑ 0↓)
duckdb / vortex-compact (1.027x ➖, 0↑ 0↓)
duckdb / parquet (0.952x ➖, 0↑ 0↓)
Full attributed analysis
|
🚨🚨🚨❌❌❌ SQL BENCHMARK FAILED ❌❌❌🚨🚨🚨Benchmark |
Benchmarks: TPC-H SF=10 on S3Verdict: No clear signal (environment too noisy confidence) datafusion / vortex-file-compressed (0.924x ➖, 1↑ 1↓)
datafusion / vortex-compact (0.832x ➖, 2↑ 0↓)
datafusion / parquet (0.798x ➖, 6↑ 0↓)
duckdb / vortex-file-compressed (1.074x ➖, 0↑ 0↓)
duckdb / vortex-compact (1.091x ➖, 0↑ 1↓)
duckdb / parquet (1.087x ➖, 0↑ 0↓)
Full attributed analysis
|
|
apparently this was not enough :( |
Merging this PR will improve performance by 23.2%
Performance Changes
Comparing Footnotes
|
Avoid using IsNotNull(expr) fallback which can lead to infinite recursion. As a followup we should make validity required thing for scalar functions
Signed-off-by: Robert Kruszewski github@robertk.io