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

Node created but can not be returned #3198

Open
ljhhuxiaoba opened this issue Sep 29, 2023 · 0 comments
Open

Node created but can not be returned #3198

ljhhuxiaoba opened this issue Sep 29, 2023 · 0 comments

Comments

@ljhhuxiaoba
Copy link

I execute a query on my empty RedisGraph and get an error.

Redis version:7.2.0
RedisGraph version: v2.12.10
operating system: windows 11
API:Cypher version 9

Steps to reproduce:
OPTIONAL MATCH () WITH * WHERE FALSE CREATE (a{k:1}) RETURN a as n

Result:

    1. "n"
  1. (empty list or set)
    1. "Nodes created: 1"
    2. "Properties set: 1"
    3. "Cached execution: 0"
    4. "Query internal execution time: 1.450015 milliseconds"

You can see that node a has been created, but it has not been returned!
On the other hand I suspect that the node shouldn't have been created because "WITH * WHERE FALSE" filters out previous matches to all records.And this query really doesn't create a node on My Neo4j Database.

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

1 participant