ClickHouse/tests/queries/0_stateless/03013_parser_regexp_recompilation.sh
Alexey Milovidov 05ee8369b2 Add a test
2024-03-18 18:54:13 +01:00

10 lines
337 B
Bash
Executable File

#!/usr/bin/env bash
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
# This query is incorrect, but its parsing should not be slow (tens of seconds):
${CLICKHOUSE_LOCAL} < "$CURDIR"/03013_parser_regexp_recompilation.txt 2>&1 | grep --text -o -F 'SYNTAX_ERROR'