It seems that some APOC procedures are not supported. The following example query throws an error due to the parenthese after apoc.convert.toBoolean.
Query:
MATCH (:NodeType)-[rel:relationship]->(:NodeType2)
UNWIND rel.list_data as data
WITH data, split(data, " ")[-1] as flag
WHERE apoc.convert.toBoolean(flag)
RETURN data
Note here: rel.list_data is of the format ["some_value flag", "some_value flag",...] where the flag string is being converted into a boolean via the APOC procedure.
This is a valid implementation of the apoc procedure which performs as expected. Is there any current support for APOC procedures or are there plans to include this in a future release?
Hi @cleishm,
It seems that some APOC procedures are not supported. The following example query throws an error due to the parenthese after
apoc.convert.toBoolean
.Query:
Note here:
rel.list_data
is of the format["some_value flag", "some_value flag",...]
where the flag string is being converted into a boolean via the APOC procedure.This gives the output:
This is a valid implementation of the apoc procedure which performs as expected. Is there any current support for APOC procedures or are there plans to include this in a future release?
Thanks in advance!
UPDATE
This seems a similar issue to https://github.com/cleishm/libcypher-parser/issues/19 which has been closed. What was the outcome of this?
In a similar fashion, putting backticks around
apoc.convert.toBoolean
to escape the projection removes the error, but this then does not work in neo