ololo3000 commented on a change in pull request #5683: IGNITE-955 Local
listener in continuous queries should not be mandatory
URL: https://github.com/apache/ignite/pull/5683#discussion_r253044060
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxyImpl.java
##########
@@ -566,8 +569,10 @@ private ClusterGroup projection(boolean loc) {
else {
ContinuousQueryWithTransformer<K, V, ?> qry0 =
(ContinuousQueryWithTransformer<K, V, ?>)qry;
- if (qry0.getLocalListener() == null)
- throw new IgniteException("Mandatory local transformed event
listener is not set for the query: " + qry);
+ if (qry0.getLocalListener() == null &&
qry0.getRemoteFilterFactory() == null) {
Review comment:
ContinuousQueryWithTransformer doesn't provide this method.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services