Skip to content

Unexpected exception triggered by quering "size()" in gremlin statement #912

@joyemang33

Description

@joyemang33

ArcadeDB Version: 23.1.2

JDK Version:

OS: Linux

We execute the following gremlin query and we believe that Arcadedb should support such query as other GDBs:

Gremlin: g.inject(1).size()
==> java.lang.ClassCastException

Detail: class java.lang.Integer cannot be cast to class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal (java.lang.Integer is in module java.base of loader 'bootstrap'; org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal is in unnamed module of loader 'app')

Would it be possible for you to support it in the future release?

Expected behavior

1 (Other GDBs return (OrientDB, TinkerGraph ...))

Actual behavior

java.lang.ClassCastException

Steps to reproduce

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions