refactor: Change id to be the relational database ID and not graph node ID

This commit is contained in:
Igor Ilic 2025-10-26 20:51:38 +01:00
parent 74cf8bd7c7
commit 90ca9bc8d1

View file

@ -239,7 +239,7 @@ async def complete_database_ingestion(schema, migrate_column_data):
id=uuid5(NAMESPACE_OID, name=column_node_id),
name=column_node_id,
properties=f"{key} {value} {table_name}",
description=f"column from relational database table={table_name}. Column name={key} and value={value}. The value of the column is related to the following row with this id: {row_node.id}. This column has the following ID: {column_node_id}",
description=f"column from relational database table={table_name}. Column name={key} and value={value}. The value of the column is related to the following row with this id: {row_node.name}. This column has the following ID: {column_node_id}",
)
node_mapping[column_node_id] = column_node