ArcadeDB Version:
ArcadeDB Server v23.10.1 (build 237a95c/1698808521864/main)
OS and JDK Version:
Windows 10 10.0 - OpenJDK 64-Bit Server VM 17.0.8 (Temurin-17.0.8+7)
Expected behavior
Each added vertex is returned by toList(), toStream(), iterate()
Actual behavior
toList() returns only last added Vertex
toStream() returns only last added Vertex
iterate().hasNext() is always false, however it executes and adds vertices
Steps to reproduce
gts.clone().V().hasLabel("inputstructure").toList().stream().forEach(v -> System.out.println(v.id().toString()));
System.out.println();
var vertices = t.addV("inputstructure").property("somep", "<value>").addV("inputstructure").property("somep", "<value>").toStream();
vertices.forEach(v -> {
System.out.println(v.id().toString());
});
System.out.println();
gts.clone().V().hasLabel("inputstructure").toList().stream().forEach(v -> System.out.println(v.id().toString()));
System.out.println();
This prints
But should print
ArcadeDB Version:
ArcadeDB Server v23.10.1 (build 237a95c/1698808521864/main)
OS and JDK Version:
Windows 10 10.0 - OpenJDK 64-Bit Server VM 17.0.8 (Temurin-17.0.8+7)
Expected behavior
Each added vertex is returned by toList(), toStream(), iterate()
Actual behavior
toList() returns only last added Vertex
toStream() returns only last added Vertex
iterate().hasNext() is always false, however it executes and adds vertices
Steps to reproduce
This prints
But should print