Files
email-tracker/external/duckdb/benchmark/micro/string/contains_integers.benchmark
2025-10-24 19:21:19 -05:00

20 lines
387 B
Plaintext

# name: benchmark/micro/string/contains_integers.benchmark
# description: Contains the string 'riously. regular, express dep' in the l_comment (3)
# group: [string]
name Contains ('1234')
group string
require tpch
load
CREATE TABLE strs AS SELECT (i * 9 % 10000000)::VARCHAR AS s FROM range(0, 10000000) t(i);
run
SELECT COUNT(*) FROM strs WHERE contains(s, '1234')
result I
4000