Fix missing commas in Kuzu graph INSERT queries (#3358)

This commit is contained in:
Padarn Wilson
2025-08-24 12:33:51 +05:30
committed by GitHub
parent 9337a873ec
commit 3b2d0ad0eb
2 changed files with 21 additions and 10 deletions
+5 -5
View File
@@ -522,12 +522,12 @@ class MemoryGraph:
WITH destination
MERGE (source {source_label} {{{merge_props_str}}})
ON CREATE SET
source.created = current_timestamp(),
source.mentions = 1
source.embedding = CAST($source_embedding,'FLOAT[{self.embedding_dims}]')
source.created = current_timestamp(),
source.mentions = 1,
source.embedding = CAST($source_embedding,'FLOAT[{self.embedding_dims}]')
ON MATCH SET
source.mentions = coalesce(source.mentions, 0) + 1
source.embedding = CAST($source_embedding,'FLOAT[{self.embedding_dims}]')
source.mentions = coalesce(source.mentions, 0) + 1,
source.embedding = CAST($source_embedding,'FLOAT[{self.embedding_dims}]')
WITH source, destination
MERGE (source)-[r {relationship_label} {{name: $relationship_name}}]->(destination)
ON CREATE SET