cwida / duckpgq-extension

DuckDB extension that adds support for SQL/PGQ
https://duckpgq.notion.site/b8ac652667964f958bfada1c3e53f1bb?v=3b47a8d44bdf4e0c8b503bf23f1b76f2
MIT License
73 stars 7 forks source link

Fix incorrectly trying to use label to find source table #157

Closed Dtenwolde closed 5 days ago

Dtenwolde commented 5 days ago

Fixes #154

In the case where the label doesn't equal the table name, the graph algorithms would incorrectly throw an error that the source table was incorrect. This PR fixes the issue by first finding the associated PropertyGraphTable with the label, and then using the table name of this to check the source table reference in the edge table.