Backport #62932 to 24.3: Unflake 02813_func_now_and_alias

This commit is contained in:
robot-clickhouse 2024-04-25 13:05:03 +00:00
parent 66cc27a4c9
commit 54e4a723a0

View File

@ -1,3 +1,6 @@
SELECT now() = current_timestamp();
SELECT now() = CURRENT_TIMESTAMP();
SELECT now() = current_TIMESTAMP();
-- "Tests" current_timestamp() which is an alias of now().
-- Since the function is non-deterministic, only check that no bad things happen (don't check the returned value).
SELECT count() FROM (SELECT current_timestamp());
SELECT count() FROM (SELECT CURRENT_TIMESTAMP());
SELECT count() FROM (SELECT current_TIMESTAMP());