ClickHouse/tests/queries/0_stateless/02372_now_in_block.sql
Alexey Milovidov dfbfc12a10 More tests
2022-07-24 20:07:14 +02:00

5 lines
244 B
SQL

SELECT count() FROM (SELECT DISTINCT nowInBlock(), nowInBlock('Pacific/Pitcairn') FROM system.numbers LIMIT 2);
SELECT nowInBlock(1); -- { serverError 43 }
SELECT nowInBlock(NULL) IS NULL;
SELECT nowInBlock('UTC', 'UTC'); -- { serverError 42 }