INTERNAL Error: Attempted to access index 6 within vector of size 6
This error signals an assertion failure within DuckDB. This usually occurs due to unexpected conditions or errors in the program's logic.
For more information, see https://duckdb.org/docs/dev/internal_errors
INSTALL duckpgq FROM community;
LOAD duckpgq;
import database 'access_control_graph';
-- init property graph
create or replace property graph access_control_graph
VERTEX TABLES (operators label operator, groups label gr, resources label resource)
EDGE TABLES (parent_of SOURCE KEY (groupid1) REFERENCES groups (name)
DESTINATION KEY (groupid2) REFERENCES groups (name),
responsible_for SOURCE KEY (groupid1) REFERENCES groups (name)
DESTINATION KEY (groupid2) REFERENCES groups (name),
has_permission SOURCE KEY (groupid) REFERENCES groups (name)
DESTINATION KEY (resourceid) REFERENCES resources (name),
belongs_to SOURCE KEY (operatorid) REFERENCES operators (name)
DESTINATION KEY (groupsid) REFERENCES groups (name));
FROM GRAPH_TABLE (access_control_graph MATCH (op:operator WHERE op.name='Operator1' )-[bt:belongs_to]->(g:gr WHERE g._type='NOP')-[rf:responsible_for]->(plant:gr WHERE plant._type='PLANT') -[hp:has_permission]-> (r:resource));
all good sofar, now run the same query adding {0,6} -->
FROM GRAPH_TABLE (access_control_graph MATCH (op:operator WHERE op.name='Operator1' )-[bt:belongs_to]->{0,6}(g:gr WHERE g._type='NOP')-[rf:responsible_for]->(plant:gr WHERE plant._type='PLANT') -[hp:has_permission]-> (r:resource));
this leads to error
OS:
windows
DuckDB Version:
1.1.0
DuckDB Client:
cli / .exe
Full Name:
db100
Affiliation:
private
How did you load the extension?
Community extension version
Did you include all relevant data sets for reproducing the issue?
No - Other reason (please specify in the issue body)
Did you include all code required to reproduce the issue?
[X] Yes, I have
Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?
What happens?
INTERNAL Error: Attempted to access index 6 within vector of size 6 This error signals an assertion failure within DuckDB. This usually occurs due to unexpected conditions or errors in the program's logic. For more information, see https://duckdb.org/docs/dev/internal_errors
To Reproduce
download the database from: https://github.com/cwida/duckpgq-extension/discussions/161#discussioncomment-11212560 then run:
all good sofar, now run the same query adding {0,6} -->
this leads to error
OS:
windows
DuckDB Version:
1.1.0
DuckDB Client:
cli / .exe
Full Name:
db100
Affiliation:
private
How did you load the extension?
Community extension version
Did you include all relevant data sets for reproducing the issue?
No - Other reason (please specify in the issue body)
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?