mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 14:02:21 +00:00
18 lines
679 B
SQL
18 lines
679 B
SQL
SET send_logs_level = 'fatal';
|
|
|
|
select today() < 2018-11-14; -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
|
select toDate('2018-01-01') < '2018-11-14';
|
|
|
|
select toDate('2018-01-01') < '2018-01-01';
|
|
select toDate('2018-01-01') == '2018-01-01';
|
|
select toDate('2018-01-01') != '2018-01-01';
|
|
select toDate('2018-01-01') < toDate('2018-01-01');
|
|
select toDate('2018-01-01') == toDate('2018-01-01');
|
|
select toDate('2018-01-01') != toDate('2018-01-01');
|
|
|
|
select toDate('2018-01-01') < 1; -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
|
select toDate('2018-01-01') == 1; -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
|
select toDate('2018-01-01') != 1; -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
|
|
|
|