You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksey Plekhanov (Jira)" <ji...@apache.org> on 2023/06/23 08:00:00 UTC

[jira] [Created] (IGNITE-19818) Calcite engine. Query planning failed when cache size is too big

Aleksey Plekhanov created IGNITE-19818:
------------------------------------------

             Summary: Calcite engine. Query planning failed when cache size is too big
                 Key: IGNITE-19818
                 URL: https://issues.apache.org/jira/browse/IGNITE-19818
             Project: Ignite
          Issue Type: Bug
            Reporter: Aleksey Plekhanov
            Assignee: Aleksey Plekhanov


We use cache size as estimation for row count while planning, but use {{cache.size()}} method, that returns int value. But if cache size is more than {{Integer.MAX_VALUE}} we get an wrong size or even negative sometimes, which cause assertion errors during planning.
We should fix it to {{cache.sizeLong()}}.



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