Files
email-tracker/external/duckdb/test/issues/rigger/test_547.test
2025-10-24 19:21:19 -05:00

20 lines
366 B
SQL

# name: test/issues/rigger/test_547.test
# description: Issue 547
# group: [rigger]
statement ok
PRAGMA enable_verification
# Query with SIMILAR TO results in 'Assertion `strlen(dataptr) == length' failed'
statement ok
CREATE TABLE t0(c0 INT);
statement ok
INSERT INTO t0 VALUES (0);
query I
SELECT * FROM t0 WHERE cast(t0.c0 as varchar) SIMILAR TO '.';
----
0