ArcadeDB Version: 21.10.2
JDK Version: any
OS: any
Expected behavior
If Vertex Type doesn't exist, don't throw an exception while querying:
graph.traversal().V().hasLabel("Car").forEachRemaining(System.out::println);
Should not print anything if Car does not exist as a Vertex Type. This is also true of Edge Types.
Actual behavior
graph.traversal().V().hasLabel("Car").forEachRemaining(System.out::println);
throws com.arcadedb.exception.SchemaException: Type with name 'Car' was not found
Steps to reproduce
@Test public void labelExists() {
graph.traversal().V().hasLabel("Car").forEachRemaining(System.out::println);
}
ArcadeDB Version: 21.10.2
JDK Version: any
OS: any
Expected behavior
If Vertex Type doesn't exist, don't throw an exception while querying:
graph.traversal().V().hasLabel("Car").forEachRemaining(System.out::println);Should not print anything if Car does not exist as a Vertex Type. This is also true of Edge Types.
Actual behavior
graph.traversal().V().hasLabel("Car").forEachRemaining(System.out::println);throws com.arcadedb.exception.SchemaException: Type with name 'Car' was not found
Steps to reproduce