ClickHouse/tests/queries/0_stateless/01592_toUnixTimestamp_Date.sql
Azat Khuzhin 17f6c82ffa Prohibit toUnixTimestamp(Date())
Making it implicitly cast to Date() does not looks correct, since before
it returns somewhat unexpected result:

    SELECT toUnixTimestamp(today())

    ┌─toUnixTimestamp(today())─┐
    │                    18591 │
    └──────────────────────────┘
2020-11-25 00:26:14 +03:00

2 lines
56 B
SQL

select toUnixTimestamp(today()); -- { serverError 44; }