diff --git a/tests/queries/0_stateless/02813_func_now_and_alias.sql b/tests/queries/0_stateless/02813_func_now_and_alias.sql index bcda1f26181..6a2acbc03c3 100644 --- a/tests/queries/0_stateless/02813_func_now_and_alias.sql +++ b/tests/queries/0_stateless/02813_func_now_and_alias.sql @@ -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());