jrgemignani opened a new pull request, #2281: URL: https://github.com/apache/age/pull/2281
NOTE: This PR was built with AI tools and verified by a human. Implements Cypher SET and REMOVE operations for vertex labels in the unified vertex table architecture. This allows dynamic label management on vertices. SET n:Label * Only works on vertices with no label. * Auto-creates the label if it doesn't exist. * Errors with hint if vertex already has a label: "Multiple labels are not supported. Use REMOVE to clear the label first." REMOVE n:Label * Removes a vertex's specified label. * Properties are preserved * No-op if vertex already has no label Added regression tests. modified: regress/expected/cypher_remove.out modified: regress/expected/unified_vertex_table.out modified: regress/sql/unified_vertex_table.sql modified: src/backend/executor/cypher_set.c modified: src/backend/nodes/cypher_copyfuncs.c modified: src/backend/nodes/cypher_outfuncs.c modified: src/backend/nodes/cypher_readfuncs.c modified: src/backend/parser/cypher_clause.c modified: src/backend/parser/cypher_gram.y modified: src/include/nodes/cypher_nodes.h -- 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]
