mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 04:42:37 +00:00
8 lines
406 B
SQL
8 lines
406 B
SQL
-- Comparing the same types is ok:
|
|
SELECT INTERVAL 1 SECOND = INTERVAL 1 SECOND;
|
|
-- It is reasonable to not give an answer for this:
|
|
SELECT INTERVAL 30 DAY < INTERVAL 1 MONTH; -- { serverError NO_COMMON_TYPE }
|
|
-- This we could change in the future:
|
|
SELECT INTERVAL 1 SECOND = INTERVAL 1 YEAR; -- { serverError NO_COMMON_TYPE }
|
|
SELECT INTERVAL 1 SECOND <= INTERVAL 1 YEAR; -- { serverError NO_COMMON_TYPE }
|