mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
2c828338f4
This commit migrates ClickHouse to Vectorscan. The first 10 min of [0] explain the reasons for it. (*) Addresses (but does not resolve) #38046 (*) Config parameter names (e.g. "max_hyperscan_regexp_length") are preserved for compatibility. Likewise, error codes (e.g. "ErrorCodes::HYPERSCAN_CANNOT_SCAN_TEXT") and function/class names (e.g. "HyperscanDeleter") are preserved as vectorscan aims to be a drop-in replacement. [0] https://www.youtube.com/watch?v=KlZWmmflW6M
9 lines
369 B
SQL
9 lines
369 B
SQL
-- Tags: no-debug, use-vectorscan
|
|
|
|
-- Check that server does not get segfault due to bad stack unwinding from Hyperscan
|
|
|
|
SET query_profiler_cpu_time_period_ns = 1000000;
|
|
SET query_profiler_real_time_period_ns = 1000000;
|
|
|
|
SELECT count() FROM test.hits WHERE multiFuzzyMatchAny(URL, 2, ['about/address', 'for_woman', '^https?://lm-company.ruy/$', 'ultimateguitar.com']);
|