should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
# name: test/parquet/parquet_long_string_stats.test
# description: Test internal issue #2289 - Performance of Parquet reader
# group: [parquet]
require httpfs
require parquet
# need to disable this otherwise we just cache everything
statement ok
set enable_external_file_cache=false;
statement ok
set parquet_metadata_cache=true;
# the constant comparison that is pushed down is longer than DuckDB's 8 bytes that are used in StringStatistics
# its prefix is equal to the max up to the last byte
# previously, we would read 5.4MB to figure out that we can prune the entire file
# now, we can prune it based on the metadata
query II
explain analyze
select count(*)
FROM 'https://github.com/duckdb/duckdb-data/releases/download/v1.0/event_baserunning_advance_attempt.parquet'
where game_id > 'WS2197109301';
----
analyzed_plan <REGEX>:.*GET: 1.*