[
https://issues.apache.org/jira/browse/IGNITE-29331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Amelchev updated IGNITE-29331:
-------------------------------------
Description:
Compiled expressions are cached by a string digest, which is built from the
expression tree every time an execution node needs a compiled expression. For a
cached plan the expressions are the same objects on every execution, but the
digest is still built, hashed and compared several times per query, which is
noticeable for short queries.
ARM:
!image-2026-11-22-15-33-17-064.png|width=987,height=122!
X86:
!image-2026-11-22-15-32-44-184.png|width=985,height=138!
was:
Compiled expressions are cached by a string digest, which is built from the
expression tree every time an execution node needs a compiled expression. For a
cached plan the expressions are the same objects on every execution, but the
digest is still built, hashed and compared several times per query, which is
noticeable for short queries.
ARM:
!image-2026-11-22-15-33-17-064.png!
X86:
!image-2026-11-22-15-32-44-184.png|width=985,height=138!
> SQL Calcite: Do not build a digest of expressions on every execution of a
> cached plan
> -------------------------------------------------------------------------------------
>
> Key: IGNITE-29331
> URL: https://issues.apache.org/jira/browse/IGNITE-29331
> Project: Ignite
> Issue Type: Improvement
> Reporter: Nikita Amelchev
> Assignee: Nikita Amelchev
> Priority: Major
> Attachments: image-2026-11-22-15-32-44-184.png,
> image-2026-11-22-15-33-17-064.png
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Compiled expressions are cached by a string digest, which is built from the
> expression tree every time an execution node needs a compiled expression. For
> a cached plan the expressions are the same objects on every execution, but
> the digest is still built, hashed and compared several times per query, which
> is noticeable for short queries.
> ARM:
> !image-2026-11-22-15-33-17-064.png|width=987,height=122!
> X86:
> !image-2026-11-22-15-32-44-184.png|width=985,height=138!
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)