Vladimir Ozerov created IGNITE-8765:
---------------------------------------

             Summary: 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.5, 2.4
            Reporter: Vladimir Ozerov


*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)

Reply via email to