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:06:00 UTC
[jira] [Created] (IGNITE-21559) Sql. Implement expression traversal that checks whether expression is determinist
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)