GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — OpenCypher:ArcadeDB can match a variable-length pattern, but once that pattern is bound to a path variable, the bound path may behave as if it does not exist. · Issue #3874 · ArcadeData/arcadedb

OpenCypher:ArcadeDB can match a variable-length pattern, but once that pattern is bound to a path variable, the bound path may behave as if it does not exist. #3874

New issue
Copy link
New issue
Copy link
Closed
Bug
Closed
OpenCypher:ArcadeDB can match a variable-length pattern, but once that pattern is bound to a path variable, the bound path may behave as if it does not exist.#3874
Bug
Copy link
Assignees
lvca
Labels
invalidThis doesn't seem rightopencypher
Milestone
26.4.2

Description

@Silence6666668
Silence6666668
opened on Apr 16, 2026
Issue body actions

ArcadeDB version

  • ArcadeDB version:26.4.1-SNAPSHOT
    Observed on Docker image:
  • arcadedata/arcadedb:latest

Environment

  • Docker on Windows host
  • ArcadeDB queried through the HTTP API: /api/v1/command/arcade
  • Neo4j used as the Cypher reference engine for comparison

Describe the bug

ArcadeDB can match a variable-length pattern, but once that pattern is bound to a path variable, the bound path may behave as if it does not exist.

In the minimized repro below:

  • the same [:KNOWS*2] match works when no path variable is bound
  • but COUNT(path) becomes 0
  • and returning length(path) produces no rows

This suggests the bug is in path-variable binding or path materialization, not in the underlying variable-length traversal itself.

To Reproduce

Setup

CREATE (a:Person {name: 'Alice'}),
       (b:Person {name: 'Bob'}),
       (c:Person {name: 'Carol'}),
       (a)-[:KNOWS]->(b),
       (b)-[:KNOWS]->(c);

Query

MATCH path = (start:Person)-[:KNOWS*2]->(end:Person)
RETURN COUNT(path) AS c;

Expected behavior

There is exactly one 2-hop path from Alice to Carol, so the result should be:

c = 1

Actual behavior

ArcadeDB returns:

c = 0

Activity

  1. lvca
    added a commit that references this issue on Apr 16, 2026

    test: added regression test for #3874

    8a086b4
  2. lvca commented on Apr 16, 2026

    @lvca
    lvca
    on Apr 16, 2026
    Member
    More actions

    Same, cannot be reproduced with the latest version, please force the update your docker image. Added a regression test: 8a086b4

  3. lvca
    closed this as completedon Apr 16, 2026
  4. lvca
    self-assigned this
    on Apr 16, 2026
  5. lvca
    added this to the 26.4.1 milestone on Apr 16, 2026
  6. lvca
    added the
    Bug
    issue type on Apr 16, 2026
  7. lvca
    added
    invalidThis doesn't seem right
    on Apr 16, 2026
  8. Silence6666668 commented on Apr 22, 2026

    @Silence6666668
    Silence6666668
    on Apr 22, 2026
    Author
    More actions

    Sorry, I found this bug on Cypher (old engine), and I mistakenly considered it an OpenCypher bug. This bug can be reproduced on Cypher (old engine). May I ask if Cypher (old engine) is still being maintained?

  9. robfrank commented on Apr 22, 2026

    @robfrank
    robfrank
    on Apr 22, 2026
    Collaborator
    More actions

    We removed the old one here: #3946

  10. Silence6666668 commented on Apr 22, 2026

    @Silence6666668
    Silence6666668
    on Apr 22, 2026
    Author
    More actions

    Thank you for your answer

  11. robfrank commented on Apr 22, 2026

    @robfrank
    robfrank
    on Apr 22, 2026
    Collaborator
    More actions

    to be precise: #3811

  12. robfrank
    added
    opencypher
    on May 10, 2026
  13. robfrank
    added a commit that references this issue on May 12, 2026

    test: added regression test for #3874

    668e4c7
  14. tae898
    added 4 commits that reference this issue on Jun 28, 2026

    chore(deps-dev): bump org.assertj:assertj-core from 3.27.3 to 3.27.4 …

    a22609c

    chore(deps): bump com.google.api.grpc:proto-google-common-protos from…

    0f86c83

    chore(deps): bump com.google.api.grpc:proto-google-common-protos from…

    36c6770

    test: added regression test for ArcadeData#3874

    c42ea1e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

invalidThis doesn't seem rightopencypher

Type

Bug

Projects

No projects

    Milestone

    • 26.4.2

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.