[
https://issues.apache.org/jira/browse/IGNITE-8765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16692906#comment-16692906
]
ASF GitHub Bot commented on IGNITE-8765:
----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/ignite/pull/5421
> SQL event is not fired when query is reduced to local form
> ----------------------------------------------------------
>
> Key: IGNITE-8765
> URL: https://issues.apache.org/jira/browse/IGNITE-8765
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Affects Versions: 2.4, 2.5
> Reporter: Vladimir Ozerov
> Assignee: Pavel Kuznetsov
> Priority: Major
> Fix For: 2.8
>
>
> *Reproducer*
> {{org.apache.ignite.internal.processors.cache.IgniteCacheAbstractQuerySelfTest#testSqlQueryEvents}}
> *Root Cause*
> Local and non-local query execution is performed differently. Local query is
> logged early. However, non-local query could be reduced after that. As a
> result, event is missed. Try change
> {{org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser#isLocalQuery}}
> method to always return {{false}} and then re-run failed test to see the
> difference.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)