mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Backport #62932 to 24.3: Unflake 02813_func_now_and_alias
This commit is contained in:
parent
66cc27a4c9
commit
54e4a723a0
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user