Skip to content

MATCH after CREATE does not return the newly created row #2308

@MuhammadTahaNaveed

Description

@MuhammadTahaNaveed

Describe the bug
Invalid output

How are you accessing AGE (Command line, driver, etc.)?

  • psql

What data setup do we need to do?
None

What is the necessary configuration info needed?
N/A

What is the command that caused the error?

SELECT * from cypher('my_graph_name', $$
    CREATE (a:TestB3)-[e:B3REL]->(b:TestB3)
    WITH a, e, b
    MATCH p = (a)-[e]->(b)
    SET a.something = 'something'
    RETURN a
$$) as (a agtype);
 a 
---
(0 rows)

Expected behavior
Should have returned a vertex with label TestB3 and property something

Environment (please complete the following information):

  • Version: 1.6.0, PG17

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions