Unable to define a date variable in cypher-shell

Hello all,

I was trying to import a db using the following command:

CALL apoc.export.cypher.all("all.cypher", {
    format: "cypher-shell",
    useOptimizations: {type: "UNWIND_BATCH_PARAMS", unwindBatchSize: 100}
})
YIELD file, batches, source, format, nodes, relationships, properties, time, rows, batchSize
RETURN file, batches, source, format, nodes, relationships, properties, time, rows, batchSize;

This get me into an error when trying to import the produced file. The complete error log (without the data parameters) is attached to this topic. log_error.txt (7.4 KB)

I think this is happening because our data has same fields as date. Trying to test this behavior directly in the cypher-shell command line I get the following error:

neo4j> :param birthday => date('2004-09-01')
UnresolvedFunction (of class org.neo4j.cypher.internal.v3_5.expressions.functions.UnresolvedFunction$)

System info:

  • docker neo4j:4.0.1

Can someone help me understand this problem?

Thanks in advance.

Regards,
Stephane Cruz