ClickHouse/tests/queries/0_stateless/03227_json_invalid_regexp.sql
2024-08-19 19:36:20 +02:00

5 lines
247 B
SQL

set allow_experimental_json_type = 1;
create table test (json JSON(SKIP REGEXP '[]')) engine=Memory(); -- {serverError CANNOT_COMPILE_REGEXP}
create table test (json JSON(SKIP REGEXP '+')) engine=Memory(); -- {serverError CANNOT_COMPILE_REGEXP};