panosfol commented on issue #1021:
URL: https://github.com/apache/age/issues/1021#issuecomment-1664510476

   @rafsun42 So there are 2 issues that im facing now. First there isn't a 
function in the cache that takes just the OID and returns the graph_name, only 
the other way around. I have for now hard coded the graph name that Im using so 
I can test things. 
   
   The other issue is that the server crashes when I try to insert the tuple in 
the junction table. I went to the `create_vertex` function in 
`cypher_create.c:476` and using the function `create_entity_result_rel_info()` 
I'm successfully creating the `ResultRelInfo` for the junction table. After 
that Im duplicating the `insert_entity_tuple` and Im using the same 
`elemTupleSlot` and the `ResultRelInfo` from the junction table. But the server 
crashes because the elemTupleSlot was created with 3 columns in mind and the 
junction table only has 2. I tried to copying the contents of the 
`node->elemTupleSlot` to a new variable but I get segmentation fault.
   
   I will look into it more but it seems its a bit more complicated than I 
thought. Ill try to have it ready by tomorrow.


-- 
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