[
https://issues.apache.org/jira/browse/IGNITE-8765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16689136#comment-16689136
]
Vladimir Ozerov commented on IGNITE-8765:
-----------------------------------------
[~pkouznet], please also pay attention to forced failure in
{{IgniteCacheReplicatedQuerySelfTest.testSqlQueryEvents}}. Most probably
correct fix will let this test pass.
> 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
>
> *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)