Hello! It seems that we always report SQL for two-step queries (i.e. ones which are not simply look up by key).
I think you need to live with that, however you can try and file an issue against JIRA. I doubt it will get much traction since everyone seems to be using JDBC anyway. Regards, -- Ilya Kasnacheev вт, 21 мая 2019 г. в 11:17, Garaude, Benjamin < [email protected]>: > Hello, > > > > I'm trying to listen locally events of type > EventType.EVT_CACHE_QUERY_OBJECT_READ > > > > I enable the events with: > > ignite.events().enableLocal(EventType.EVT_CACHE_QUERY_OBJECT_READ); > > > > An I then register a local listener with: > > ignite.events().localListen(myListenerInstance, > EventType.EVT_CACHE_QUERY_OBJECT_READ); > > > > It works fine except that when I execute a SqlFieldsQuery on a cache, the > event I receive has the property queryType set to SQL and not SQL_FIELDS. > > > > I've created a test case reproducing this issue: > > https://github.com/bgaraude/IgniteTest/tree/master/ignite-query-event > > > > Am I missing something? > > > > Benjamin >
