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 — [CYPHER] Variable-length pattern *0..0 in list comprehension returns wrong nodes · Issue #3929 · ArcadeData/arcadedb

[CYPHER] Variable-length pattern *0..0 in list comprehension returns wrong nodes #3929

New issue
Copy link
New issue
Copy link
Closed
Bug
Closed
[CYPHER] Variable-length pattern *0..0 in list comprehension returns wrong nodes#3929
Bug
Copy link
Assignees
lvca
Milestone
26.4.2

Description

@ExtReMLapin
ExtReMLapin
opened on Apr 19, 2026
Issue body actions

Test: variableLengthPatternComprehensionZeroLength (line 361)

Setup (create test data):

CREATE (alice:VarLengthTest {name:'Alice'}), 
       (bob:VarLengthTest {name:'Bob'}), 
       (charlie:VarLengthTest {name:'Charlie'}), 
       (alice)-[:KNOWS]->(bob), 
       (bob)-[:KNOWS]->(charlie), 
       (alice)-[:KNOWS]->(charlie)

Cypher query to execute:

MATCH (a:VarLengthTest {name:'Alice'}) RETURN [(a)-[:KNOWS*0..0]->(f:VarLengthTest) | f.name] AS result

Expected behavior:

[(a)-[:KNOWS*0..0]->(f) | f.name] where a is 'Alice' should return ['Alice']

ArcadeDB result:

{"result": ["Charlie", "Bob"]}

Neo4j result:

{"result": ["Alice"]}

A zero-length variable-length pattern should return the anchor node itself, but it returns other nodes instead.

Activity

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

    test: regression for #3929, duplicate of #3931

    8ce0da4
  2. lvca commented on Apr 19, 2026

    @lvca
    lvca
    on Apr 19, 2026
    Member
    More actions

    Duplicate of #3931

  3. lvca
    marked this as a duplicate of [CYPHER] Variable-length pattern *2..2 in list comprehension includes nodes at distance 1 #3931 on Apr 19, 2026
  4. lvca
    closed this as completedon Apr 19, 2026
  5. lvca
    self-assigned this
    on Apr 19, 2026
  6. lvca
    added this to the 26.4.1 milestone on Apr 19, 2026
  7. lvca
    added the
    Bug
    issue type on Apr 19, 2026
  8. robfrank
    added a commit that references this issue on May 12, 2026

    test: regression for #3929, duplicate of #3931

    26ea23d
  9. tae898
    added 3 commits that reference this issue on Jun 28, 2026

    chore(deps): bump org.postgresql:postgresql from 42.7.9 to 42.7.10 [s…

    c9a275a

    chore(studio-deps)(deps): bump marked from 17.0.5 to 17.0.6 in /studi…

    ae88aaa

    test: regression for ArcadeData#3929, duplicate of ArcadeData#3931

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

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

No labels
No labels

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.