Skip to content

Cypher: "delete" query causes "groovy.lang.MissingMethodException" error #734

Closed

Description

@artturimatias

ArcadeDB Version:23.1.1-SNAPSHOT (build 1b37118/1672643983571/main)

JDK Version:

OS: Linux (Docker)

Expected behavior

Query
MATCH (p) DELETE p
should delete p

Actual behavior

MATCH (p) DELETE p
results following error:
groovy.lang.MissingMethodException: No signature of method: org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.cypherException() is applicable for argument types: () values: []

Steps to reproduce

WIth empty database
CREATE (p:Person) RETURN p
MATCH (p) DELETE p

In 22.6.1 delete worked.

Activity

  1. self-assigned this
    on Jan 2, 2023
  2. added this to the 23.1.1 milestone on Jan 2, 2023
  3. lvca commented on Jan 2, 2023

    @lvca
    Member

    Found the issue: the Cypher custom functions were not registered in the engine. Now they are registered on both Gremlin Server and ArcadeDB's Cypher engine.

    Thanks @artturimatias for submitting the issue with a clear way to reproduce it.

  4. artturimatias commented on Jan 2, 2023

    @artturimatias
    Author

    Thanks for a quick fix @lvca , tested with latest commit and can confirm that delete works.

  5. added a commit that references this issue on Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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