Aleksey Plekhanov created IGNITE-28892:
------------------------------------------

             Summary: Double view iteration for select from system views on H2 
engine
                 Key: IGNITE-28892
                 URL: https://issues.apache.org/jira/browse/IGNITE-28892
             Project: Ignite
          Issue Type: Improvement
            Reporter: Aleksey Plekhanov


Currently, for inner collection views to view size we must iterate over the 
view. In H2 engine {{getRowCount()}} method returns {{sysView.size()}} and 
iterates over the view in some cases (see 
{{SystemViewH2Adapter.getRowCount()}}). H2 can call {{getRowCount()}} to 
calculate query cost, it leads to double view iterations. We can override 
{{canGetRowCount()}} method for some views to aviod this.



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

Reply via email to