ClickHouse/tests/queries/0_stateless/01933_invalid_date.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
368 B
MySQL
Raw Normal View History

2023-11-14 21:06:49 +00:00
SELECT toDate('07-08-2019'); -- { serverError 38 }
SELECT toDate('2019-0708'); -- { serverError 38 }
SELECT toDate('201907-08'); -- { serverError 38 }
SELECT toDate('2019^7^8');
CREATE TEMPORARY TABLE test (d Date);
INSERT INTO test VALUES ('2018-01-01');
2023-11-14 21:06:49 +00:00
SELECT * FROM test WHERE d >= '07-08-2019'; -- { serverError 38 }
SELECT * FROM test WHERE d >= '2019-07-08';