Maksim Zhuravkov created IGNITE-21559:
-----------------------------------------

             Summary: Sql. Implement expression traversal that checks whether 
expression is determinist
                 Key: IGNITE-21559
                 URL: https://issues.apache.org/jira/browse/IGNITE-21559
             Project: Ignite
          Issue Type: Improvement
          Components: sql
    Affects Versions: 3.0.0-beta2
            Reporter: Maksim Zhuravkov


Let's implement a utility for determining whether an expression tree (RexNodes) 
is deterministic or not. 

Expression is deterministic if is a constant expression, a math function, or a 
function like CURRENT_TIMESTAMP is evaluated once per session.

Non deterministic functions in AI-3: GEN_RANDOM_UUID.
Check to see if there are any other non-deterministic functions as well and 
mark them accordingly.





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to