Implement PathFindingOperator #93
Labels
enhancement
New feature or request
experiment
For experimenting existing features
path-finding
Issues related to path-finding, such as the path mode or path prefix.
This issue serves as a way to track the progress on the PathFindingOperator
Working on in https://github.com/cwida/duckpgq-extension/tree/pathfindingoperator and https://github.com/cwida/duckdb-pgq/tree/pathfindingoperator (Make sure to be on the correct branch in both repositories)
The idea is to create a path-finding operator with two sinks. This acts similarly to the IEJoin. We insert that in this function, instead of the iterativelength() UDF. For this binding phase, we generate a logical query plan, so there cannot be a physical path-finding operator inserted quite yet. We need to create the two sinks here. One side is the src, and dst pairs (tasks) and the other side is the CSR. Importantly without the CREATE_CSR_EDGE() UDF because that will be done in one of the sinks of the new operator.
Can include optimizations such as #23
Plan for now:
Potential optimizations:
An example query for what we have for now (initial idea):
The text was updated successfully, but these errors were encountered: