Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The apoc.export.cypher.* procedures don't create relationships with start/end node without properties. #2886

Closed
vga91 opened this issue May 13, 2022 · 0 comments

Comments

@vga91
Copy link
Collaborator

vga91 commented May 13, 2022

Expected Behavior (Mandatory)

The relationship should be created.

Actual Behavior (Mandatory)

No relationships created.

Steps (Mandatory)

Create a rel with an end node withoud properties:

create (:Start {a: 1)-[:WORKS_FOR {id: 1}]->(:Project)

Execute this statement:

CALL apoc.export.cypher.all(null, {useOptimizations: { type: 'none'}, cypherFormat: 'create' })

Copy the cypherStatements result from above proc., delete and reimport entities:

CALL apoc.cypher.runMany(<cypherStatements>, {})

No rel. created.

Versions

  • OS: OSX
  • Neo4j: 4.4.5
  • Apoc: 4.4.0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants