joefagan opened a new issue #16:
URL: https://github.com/apache/incubator-age-viewer/issues/16


   **Describe the bug**
   match (n) return n.name
   does not show the value of the property  
   match (n) return collect(n.name) works fine!!
   
   **To Reproduce**
   Create a new graph as follows;
   ```
   -- drop graph for cleanup between tests
   SELECT * FROM ag_catalog.drop_graph('test_graph', true);
   
   -- start from a new graph
   -- create parent connected to 2 children with multiple properties
   SELECT * FROM create_graph('test_graph');
   SELECT * FROM cypher('test_graph', $$
       CREATE (p:person {name: 'parent'})
       CREATE (c1:person {name: 'child1', age: 11 })
       CREATE (c2:person {name: 'child2', age: 12 })
       CREATE (p)-[:connect {type: 'is parent'}]->(c1)
       CREATE (p)-[:connect {type: 'is parent'}]->(c2)
       RETURN p
   $$) as (p agtype);
   ```
   run this query
   ```
   SELECT * from cypher('test_graph', $$
             MATCH (n)
             RETURN n.name
   $$) as (n agtype);
   ```
   **Expected behavior**
       n
   ----------
    "parent"
    "child1"
    "child2"
   (3 rows)
   
   **Screenshots** 
   actual behaviour - property not displayed.
   
![image](https://user-images.githubusercontent.com/48284776/144880198-b2d86c90-7d57-4cde-993b-cbbd775e6d8b.png)
   
   
   **Desktop (please complete the following information):**
    - OS: [e.g. iOS] - 
   Edition      Windows 10 Home
   Version      20H2
   Installed on ‎27/‎03/‎2021
   OS build     19042.1348
   Experience   Windows Feature Experience Pack 120.2212.3920.0
   
    - Browser [e.g. chrome, safari]
   Google chrome
   
    - Version [e.g. 22]
   Version 96.0.4664.45 (Official Build) (64-bit)
   
   **Additional context**
   docker run --publish=3001:3001 --name=agviewer bitnine/agviewer:latest
   docker run -it -e POSTGRES_PASSWORD=mypassword -p 5432:5432 
joefagan/incubator-age
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@age.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to