orhankislal commented on code in PR #594:
URL: https://github.com/apache/madlib/pull/594#discussion_r1110248891


##########
src/ports/postgres/modules/graph/wcc.py_in:
##########
@@ -211,6 +221,18 @@ def wcc(schema_madlib, vertex_table, vertex_id, 
edge_table, edge_args,
     else:
         edge_inverse = edge_table
 
+    if warm_start:
+        new_update_sql = """
+            CREATE TABLE {newupdate} AS SELECT * FROM {out_table};
+        """.format(**locals())
+        msg_sql = """
+            CREATE TABLE {message} AS SELECT * FROM {out_table_message};
+        """.format(**locals())
+        if vertex_type != "BIGINT[]" and vertex_id_in and vertex_id_in != 'id':

Review Comment:
   This was necessary to support multiple column identifiers. If the user 
specifies id1 and id2 as vertex_ids, we create a new column [id1,id2] and give 
it a name. 



-- 
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...@madlib.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to