MuhammadTahaNaveed commented on issue #1033:
URL: https://github.com/apache/age/issues/1033#issuecomment-1634836843

   oh... I thought it was an issue with agtype_access_operator. Have a look at 
PR #1034.
   
    > All scalars are wrapped in a 1 element array and flagged as a scalar.
    
   And also, for the case of vle, what if length of path is greater than 1? 
Shouldn't two objects(edges) get wrapped into one array (as it is happening 
now)? for example
   ```
   age=# SELECT * FROM cypher('new',$$MATCH ()<-[x *2]-() RETURN x$$) as (a 
agtype);
                                                                                
                                              a                                 
                                 
                                                             
   
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   ----------------------------------------------------------
    [{"id": 844424930131969, "label": "KNOWS", "end_id": 281474976710659, 
"start_id": 281474976710658, "properties": {}}::edge, {"id": 844424930131970, 
"label": "KNOWS", "end_id": 2814749767106
   58, "start_id": 281474976710657, "properties": {}}::edge]
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to