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)

Reply via email to