Skip to content

path.combine rejects its documented two-argument signature #10017

Closed

Description

@YGY-001

Environment

  • ArcadeDB image: arcadedata/arcadedb:latest
  • Server version: 26.11.1-SNAPSHOT
  • Build: 3c83e87406ebd52c256a26f93aeba64ebf553c74/1791967609866/main
  • Image ID/digest: sha256:2afd99153a98e2e65383da7b35b06ddc0f060d46cf3b36abf073f610b65017cc

Reproduction

Run the setup, then run the query over Bolt:

CREATE (a:N {id: 1})-[:R]->(b:N {id: 2})-[:R]->(c:N {id: 3})
MATCH p1 = (a:N {id: 1})-[:R]->(b:N {id: 2}),
      p2 = (b)-[:R]->(c:N {id: 3})
RETURN path.combine(p1, p2) AS combined

The paths share their endpoint/startpoint b. The documented function
signature is path.combine(path1, path2):
ArcadeDB Path & Algorithm Procedures.

Expected result

One record containing the combined path a → b → c (node IDs 1, 2, 3 and
both R relationships).

Actual result

The query fails before returning a record:

Neo.ClientError.Statement.SemanticError:
Function 'path.combine' expects 1 argument but got 2

Activity

  1. added
    in progressThe team is actively working on this issue
    on Oct 14, 2026
  2. self-assigned this
    on Oct 14, 2026
  3. added this to the 26.11.1 milestone on Oct 14, 2026
  4. lvca commented on Oct 14, 2026

    @lvca
    Member

    Fixed in #10033, available in 26.11.1.

    path.combine(path1, path2) now works as documented (the APOC signature). The second path must start where the first one ends, otherwise you get a clear error. If one of the paths is null, the other one is returned. Your query now returns the combined path a -> b -> c.

    All the other path.* functions now accept a path bound by MATCH p = ... and return a real path, so nodes(), relationships(), length() and the drivers work on their result. path.create(start, [rels]) now also adds the nodes along the relationships; before, it kept only the start node.


    ❤️ Thanks for helping make ArcadeDB better! ArcadeDB is free and open source, sustained by its community. If it's useful to you or your company, please consider becoming a sponsor to keep development going.

  5. removed
    in progressThe team is actively working on this issue
    on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugopencypherseverity:majorA feature is broken or returns wrong results, with no practical workaround

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions