This is a known issue fixed in the following, and later, versions:
- VMware Tanzu GemFire 9.10.7
- Apache Geode 1.13.3
- Apache Geode 1.14.0
- Apache Geode 1.15.0
To work around this issue, you can do either of the following:
- Avoid the use of NOT or any form of NOT, such as, "!=", in the query.
- Use an IN clause by providing values of the object/field that you are querying instead.
Example
Object Y has these values:
Instead of this following query:
SELECT DISTINCT FROM X <region> WHERE X.ObjectY.toString() != 'aaa'
You use the following query:
SELECT DISTINCT FROM X <region> WHERE X.ObjectY.toString() in set ('bbb', 'ccc', 'ddd')