[BUG] Using collections.remove_all stops the docker container #475
Labels
bug
bug
community
community
Effort - Unknown
Effort - Unknown
Frequency - EveryTime
Frequency - EveryTime
Reach - Some
Reach - Some
Severity - S1
Severity - S1
Running a query using collections.remove_all with more than 500 keys will cause the server to stop
To Reproduce
Steps to reproduce the behavior:
UNWIND $keys as item
WITH collect(DISTINCT item[0]['uuid']) AS inuuid, collect(DISTINCT item[1]['uuid']) AS outuuid
MATCH (in:Interface)-[rel:EXPOSES]->(out:Port)
WHERE in.uuid IN inuuid AND out.uuid IN outuuid
WITH in, rel, out, LABELS(in) AS nodeInLabels, LABELS(out) AS nodeOutLabels
WHERE size(collections.remove_all(nodeInLabels, ["Bloom_Perspective","FunctionalId","RefactorVersion"])) = 1 AND collections.remove_all(nodeInLabels, ["Bloom_Perspective","FunctionalId","RefactorVersion","Interface"]) = []
AND size(collections.remove_all(nodeOutLabels, ["Bloom_Perspective","FunctionalId","RefactorVersion"])) = 1 AND collections.remove_all(nodeOutLabels, ["Bloom_Perspective","FunctionalId","RefactorVersion","Port"]) = []
AND [ in{.uuid}, out{.uuid} ] in $keys
RETURN rel{IN: in{.uuid}, REL: rel{ElementID: id(rel)}, OUT:out{.uuid}} as key ;
network-db-export.zip
keys.json
The text was updated successfully, but these errors were encountered: