panosfol commented on issue #829: URL: https://github.com/apache/age/issues/829#issuecomment-1519084515
When you create the vertex with "properties" : {"name": "bobby"} and "Person" as a label, it creates a new label table for vertices and inserts that vertex in that table. Also it assigns an ID that is generated according to the label table ID. When you create another vertex and assign it a different label (in this case "Bobby") the same procedure happens but a different ID is assigned on the vertex because the table that the vertex will be inserted is the "Bobby" label table (that has a different ID). Since those 2 vertices have different ID's and exist in different tables the above query works as intented. Implementing multiple labels and actually fetching one vertex with multiple labels needs a complete refactor, but for now the way creating a vertex and assigning a label works, I wouldn't call it a bug. Tell me if I missed something -- 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