Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.3.0
-
None
-
None
Description
VALUES(current_user());
returns:
cannot evaluate expression current_user() in inline table definition.; line 1 pos 8
The same with current_timestamp() works.
It appears current_user() is recognized as non-deterministic. But it is constant within the statement, just like current_timestanmp().
PS: It's not clear why we block non-deterministic functions to begin with....