You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2018/06/09 12:30:00 UTC

[jira] [Created] (IGNITE-8765) SQL event is not fired when query is reduced to local form

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)