You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Juan Ramos (Jira)" <ji...@apache.org> on 2020/01/22 00:47:00 UTC

[jira] [Created] (GEODE-7728) org.apache.geode.InternalGemFireError: ERROR: Assertion failed

Juan Ramos created GEODE-7728:
---------------------------------

             Summary: org.apache.geode.InternalGemFireError: ERROR: Assertion failed
                 Key: GEODE-7728
                 URL: https://issues.apache.org/jira/browse/GEODE-7728
             Project: Geode
          Issue Type: Bug
          Components: querying
            Reporter: Juan Ramos


When trying to run a simple equi-join query (both fields are indexed) with additional filters on a single region, the execution fails with the following exception:

{noformat}
org.apache.geode.InternalGemFireError: ERROR: Assertion failed: '  '
	at org.apache.geode.cache.query.internal.Support.assertionFailed(Support.java:76)
	at org.apache.geode.cache.query.internal.Support.Assert(Support.java:65)
	at org.apache.geode.cache.query.internal.Support.Assert(Support.java:46)
	at org.apache.geode.cache.query.internal.AbstractGroupOrRangeJunction.filterEvaluate(AbstractGroupOrRangeJunction.java:150)
	at org.apache.geode.cache.query.internal.CompiledJunction.filterEvaluate(CompiledJunction.java:190)
	at org.apache.geode.cache.query.internal.CompiledSelect.evaluate(CompiledSelect.java:538)
	at org.apache.geode.cache.query.internal.CompiledSelect.evaluate(CompiledSelect.java:53)
	at org.apache.geode.cache.query.internal.DefaultQuery.executeUsingContext(DefaultQuery.java:432)
	at org.apache.geode.cache.query.internal.DefaultQuery.execute(DefaultQuery.java:267)
	at org.apache.geode.cache.query.internal.DefaultQuery.execute(DefaultQuery.java:199)
{noformat}

The problem seems to be that, in order to optimise the execution for a more general form of join queries, we fail to find the "optimal" filter on which to operate and, thus, the exception is thrown.
The problem is not reproducible whenever one of the fields used for the comparison is not indexed, or when both indexes are passed to the query engine using the *HINT* keyword.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)