Aleksandr Chesnokov created IGNITE-26404:
--------------------------------------------

             Summary: H2QueryInfo#planWithoutScanCount does not consider all 
cases
                 Key: IGNITE-26404
                 URL: https://issues.apache.org/jira/browse/IGNITE-26404
             Project: Ignite
          Issue Type: Bug
            Reporter: Aleksandr Chesnokov
            Assignee: Aleksandr Chesnokov


{{H2QueryInfo#planWithoutScanCount}} does not consider all cases:

1) It deletes only the first occurrence of the {{scanCount}} field, but there 
can be several occurrences (e.g. in {{{}UNION{}}})

2) Sometimes {{scanCount}} is located inside {{/++ ... ++/}} comments, not in 
{{/* ... */}}

As a result, it generates local plans for perfStat that differ only by 
{{{}scanCount{}}}, which makes {{perfStat}} heavier



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

Reply via email to