albertogpz commented on a change in pull request #6279:
URL: https://github.com/apache/geode/pull/6279#discussion_r623766194
##########
File path:
geode-core/src/main/java/org/apache/geode/cache/query/internal/CompiledComparison.java
##########
@@ -651,6 +655,29 @@ public static String getSimpleClassName(Class cls) {
indexData = QueryUtils.getAvailableIndexIfAny(path, context,
this._operator);
}
+ // Do not use indexes when map index with allkeys and != condition or
when comparing with null
+ try {
+ if (indexData != null
Review comment:
Yes. I totally agree.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]