Zainab-Saad commented on issue #852:
URL: https://github.com/apache/age/issues/852#issuecomment-1522934924

   The 16 digit ID of nodes and edges is generated by applying certain masking 
algorithm on the ID of label associated with that node/edge. Since the labels 
are actually tables that store the nodes/edges associated to them in that table 
and the ID of these tables are generated by a sequence (you can find the ID of 
a label table using `SELECT * FROM ag_label` --> This outputs a column named id 
that is basically the label ID I am talking about.) 
   In order to actually see how the IDs are given to nodes/edges, debug a 
simple CREATE statement with breakpoints on 
   
   1. create_vertex
   2. ExecEvalExpr
   
   This will give you a more clear picture
   Hope it helps!


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