You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Zhuravkov (Jira)" <ji...@apache.org> on 2024/02/19 11:11:00 UTC

[jira] [Updated] (IGNITE-21559) Sql. Implement expression traversal that checks whether expression is determinist

     [ https://issues.apache.org/jira/browse/IGNITE-21559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maksim Zhuravkov updated IGNITE-21559:
--------------------------------------
    Description: 
Let's implement a utility for determining whether an expression tree (RexNodes) is deterministic or not. 

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

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.



  was:
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.




> 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
>            Priority: Major
>
> Let's implement a utility for determining whether an expression tree (RexNodes) is deterministic or not. 
> Expression is deterministic if it is constant expression, dynamic parameter, or a function like CURRENT_TIMESTAMP is evaluated once per session, or deterministic function.
> 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)