ArcadeDB Version:
ArcadeDB Server v25.6.1 (build aa15bdf5ca7c78957f4e8163e213f05a97c4095f/1751901868702/main)
OS and JDK Version:
Running on Linux 6.15.7-3-cachyos - OpenJDK 64-Bit Server VM 21.0.7 (Temurin-21.0.7+6)
Description
The size function shows 2 on a selection with chained graph function. I think this affects only in,out and both
Steps to reproduce
CREATE VERTEX TYPE News;
CREATE VERTEX TYPE Author;
CREATE VERTEX TYPE User;
CREATE EDGE TYPE Published;
CREATE EDGE TYPE HasRead;
INSERT INTO News CONTENT { "id": "1", "title": "News 1", "content": "Content 1" };
INSERT INTO News CONTENT { "id": "2", "title": "News 2", "content": "Content 2" };
INSERT INTO Author CONTENT { "id": "1", "name": "Author 1" };
INSERT INTO User CONTENT { "id": "1", "name": "User 1" };
CREATE EDGE Published FROM (SELECT FROM Author WHERE id = 1) TO (SELECT FROM News WHERE id = 1);
CREATE EDGE Published FROM (SELECT FROM Author WHERE id = 1) TO (SELECT FROM News WHERE id = 2);
and
SELECT out("Published").in("HasRead").size() FROM Author
If the Edge is added, it has the same result
CREATE EDGE HasRead FROM (SELECT FROM User WHERE id = 1) TO (SELECT FROM News WHERE id = 1);
Actual behavior without Edge
SELECT out("Published").in("HasRead") as output FROM Author
SELECT out("Published").in("HasRead").size() as output FROM Author
Expected behavior without Edge
Actual behavior with Edge
SELECT out("Published").in("HasRead") as output FROM Author
| output |
[{"@rid":"#7:0","@type":"User","name":"User 1","id":"1","@cat":"v","@out":1,"@in":0}] |
SELECT out("Published").in("HasRead").size() as output FROM Author
Expected behavior without Edge
ArcadeDB Version:
ArcadeDB Server v25.6.1 (build aa15bdf5ca7c78957f4e8163e213f05a97c4095f/1751901868702/main)OS and JDK Version:
Running on Linux 6.15.7-3-cachyos - OpenJDK 64-Bit Server VM 21.0.7 (Temurin-21.0.7+6)
Description
The size function shows 2 on a selection with chained graph function. I think this affects only
in,outandbothSteps to reproduce
and
If the Edge is added, it has the same result
Actual behavior without Edge
Expected behavior without Edge
Actual behavior with Edge
[{"@rid":"#7:0","@type":"User","name":"User 1","id":"1","@cat":"v","@out":1,"@in":0}]Expected behavior without Edge