2020-06-20 11:29:01 +00:00
|
|
|
SET send_logs_level = 'fatal';
|
2018-11-28 11:37:07 +00:00
|
|
|
|
2024-05-30 12:27:25 +00:00
|
|
|
select today() < 2018-11-14; -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
|
2018-11-28 12:20:16 +00:00
|
|
|
select toDate('2018-01-01') < '2018-11-14';
|
|
|
|
|
2018-11-28 11:37:07 +00:00
|
|
|
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');
|
|
|
|
|
2024-05-30 12:27:25 +00:00
|
|
|
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 }
|
2018-11-28 11:37:07 +00:00
|
|
|
|
2018-11-28 12:20:16 +00:00
|
|
|
|