Whenever a custom label is defined for a vertex table, the graph algorithms incorrectly throw an error when we try to use this label as the source for the algorithm.
-CREATE PROPERTY GRAPH pg_all_properties
VERTEX TABLES (
Student label Person,
School LABEL School IN School_kind (Hogeschool, University)
)
EDGE TABLES (
know SOURCE KEY ( src ) REFERENCES Student ( id )
DESTINATION KEY ( dst ) REFERENCES Student ( id )
LABEL Knows
)
statement ok
select * from local_clustering_coefficient(pg_all_properties, person, knows);
Person should be allowed here as the documentation says the vertex label is used, but this throws an error.
What happens?
Whenever a custom label is defined for a vertex table, the graph algorithms incorrectly throw an error when we try to use this label as the source for the algorithm.
Person should be allowed here as the documentation says the
vertex label
is used, but this throws an error.To Reproduce
OS:
macOs 13 - Apple M1 Pro
DuckDB Version:
v1.1.2
DuckDB Client:
CLI
Full Name:
Daniel ten Wolde
Affiliation:
CWI
How did you load the extension?
Built from source
Did you include all relevant data sets for reproducing the issue?
Yes
Did you include all code required to reproduce the issue?
Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?