Redisgraph: Server crashes on trying to join on indexed field

Created on 26 Nov 2018  路  1Comment  路  Source: RedisGraph/RedisGraph

After inserting each node individually I would like to build their relationships by joining them on a property which happens to be indexed.

GRAPH.QUERY DEMO_GRAPH "CREATE (:book {id: 'B1', title: 'Johns First Book', authorId: 'P1'})"
GRAPH.QUERY DEMO_GRAPH "CREATE (:book {id: 'B2', title: 'Johns Second Book', authorId: 'P1'})"
GRAPH.QUERY DEMO_GRAPH "CREATE (:author {id: 'P1', name: 'John'})"
GRAPH.QUERY DEMO_GRAPH "CREATE INDEX ON :author(id)"
GRAPH.QUERY DEMO_GRAPH "MATCH (a:author), (b:book) WHERE a.id='P1' AND b.authorId=a.id CREATE (a)-[:wrote]->(b)"

Executing this block of commands results in redis-server crashing with an error:
/src/execution_plan/record.c:33: Record_GetEntry: Assertione' failed.`

bug

Most helpful comment

Nice catch, @dipeti ! We should be able to fix this shortly.

>All comments

Nice catch, @dipeti ! We should be able to fix this shortly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Sceat picture Sceat  路  7Comments

swilly22 picture swilly22  路  8Comments

esokullu picture esokullu  路  3Comments

Talha-B picture Talha-B  路  5Comments

WitchsCat picture WitchsCat  路  10Comments