JoshInnis commented on issue #374: URL: https://github.com/apache/age/issues/374#issuecomment-1331069725
Label inheritance utilizes the table inheritance feature that Postgres provides. https://www.postgresql.org/docs/11/tutorial-inheritance.html We already use inheritance, vertices and edges without labels go into a top level table and all vertices and edges with labels are placed in tables. So when you do MATCH(n) with no label the way AGE is written the tables that inherit from the top table with no label are also included. It is possible to have a label inherit from another label, which would allow for a hierarchy of labels to be available for the user. It is also possible for a label to inherit from more than one label. The way to make a label that inherits from another label would be to add a field to create_elabel and create_vlabel called parents which is a list of labels to inherit from (with the default being NULL) -- 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]
