From aa714a6e22106765fff13c03f9ec418eb6349355 Mon Sep 17 00:00:00 2001 From: Robert Schulze Date: Sun, 7 Jan 2024 08:44:50 +0000 Subject: [PATCH] Minor test adjustment --- tests/queries/0_stateless/02884_string_distance_function.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/queries/0_stateless/02884_string_distance_function.sql b/tests/queries/0_stateless/02884_string_distance_function.sql index 71a534bec85..fddbf41f0e5 100644 --- a/tests/queries/0_stateless/02884_string_distance_function.sql +++ b/tests/queries/0_stateless/02884_string_distance_function.sql @@ -15,6 +15,8 @@ SELECT 'clickhouse' AS s1, 'mouse' AS s2, levenshteinDistance(s1, s2); SELECT '-- Deny DoS using too large inputs'; SELECT editDistance(randomString(power(2, 17)), 'abc'); -- { serverError TOO_LARGE_STRING_SIZE} SELECT damerauLevenshteinDistance(randomString(power(2, 17)), 'abc'); -- { serverError TOO_LARGE_STRING_SIZE} +SELECT jaroSimilarity(randomString(power(2, 17)), 'abc'); -- { serverError TOO_LARGE_STRING_SIZE} +SELECT jaroWinklerSimilarity(randomString(power(2, 17)), 'abc'); -- { serverError TOO_LARGE_STRING_SIZE} DROP TABLE IF EXISTS t; CREATE TABLE t