ClickHouse/tests/queries/0_stateless/02372_now_in_block.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
344 B
MySQL
Raw Normal View History

2024-07-24 07:57:56 +00:00
SET max_rows_to_read = 0, max_bytes_to_read = 0;
2022-07-24 18:05:31 +00:00
SELECT count() FROM (SELECT DISTINCT nowInBlock(), nowInBlock('Pacific/Pitcairn') FROM system.numbers LIMIT 2);
SELECT nowInBlock(1); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
2022-07-24 18:07:14 +00:00
SELECT nowInBlock(NULL) IS NULL;
2024-05-07 14:10:21 +00:00
SELECT nowInBlock('UTC', 'UTC'); -- { serverError TOO_MANY_ARGUMENTS_FOR_FUNCTION }