age icon indicating copy to clipboard operation
age copied to clipboard

RETURN does not accomodate returned paths

Open dehowef opened this issue 2 years ago • 1 comments

Describe the bug RETURN does not return a tuple of paths in its current syntax and form.

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

  • AGE ver. 1.4.0 based on the current main branch.

What data setup do we need to do? Have a database.

What is the command that caused the error?

SELECT * FROM cypher('matrix', $$ MATCH (a)-[]->(b) RETURN (a)-[]-(b)$$) as (a agtype);
ERROR:  must be scalar value, not array or object

Expected behavior According to the OpenCypher specification, This query should return a tuple of elements that satisfy the MATCH requirement.

Environment (please complete the following information):

  • Version: [e.g. 1.6.0], latest main branch. This should be reproducible in any version of Postgres.

dehowef avatar Oct 11 '23 22:10 dehowef

This issue is stale because it has been open 45 days with no activity. Remove "Abondoned" label or comment or this will be closed in 7 days.

github-actions[bot] avatar May 11 '24 00:05 github-actions[bot]