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 — Issue with collect in cypher · Issue #860 · ArcadeData/arcadedb

Issue with collect in cypher #860

New issue
Copy link
New issue
Copy link
Closed
Closed
Issue with collect in cypher#860
Copy link
Assignees
lvca
Milestone
23.2.1

Description

@M-Taan
M-Taan
opened on Feb 14, 2023
Issue body actions

ArcadeDB Version: 23.1.2

JDK Version: openjdk 11.0.18

OS: Arch, running 6.1.9-arch1-1

Expected behavior

When running a query that results in a single node match, collect should result in a list of hashmaps of length 1.

Actual behavior

When running a query that results in a single node match, collect returns a hashmap.

Steps to reproduce

As an example, I wrote this query in the open beer database, so it can be easily reproduced.
This brewery produces only one beer. As stated above, the collection should be a list of hashmaps of length 1, instead it returns beer-products as a single hashmap.

MATCH (b:Beer)-[:HasBrewery]->(brw:Brewery {id: 519})
return brw.name as `brewery-name`, collect(b) as `beer-products`

Activity

  1. lvca
    self-assigned this
    on Feb 14, 2023
  2. lvca
    added
    bug
    on Feb 14, 2023
  3. lvca
    added this to the 23.2.1 milestone on Feb 14, 2023
  4. lvca
    added a commit that references this issue on Feb 15, 2023

    fix: cypher resultset flat list of maps

    b790797
  5. lvca commented on Feb 15, 2023

    @lvca
    lvca
    on Feb 15, 2023
    Member
    More actions

    Reproduced. The result set from cypher is transformed. There is a specific case where it makes flat all the list of maps with only one item. Removed and seems to work without breaking things. Please let me know if the latest main branch solves your use case.

  6. lvca
    closed this as completedon Feb 15, 2023
  7. lvca
    added
    bug fixed
    on Feb 15, 2023
  8. lvca
    added a commit that references this issue on Feb 15, 2023

    fix: recent change to fix #860 created a regression

    This issue will close once commit 3d7e8e5 is merged into the 'main' branch.
    3d7e8e5
  9. mergify
    added a commit that references this issue on Aug 10, 2025

    chore(deps): bump docker/login-action from 3.4.0 to 3.5.0 [skip ci]

    6e62f10
  10. mergify
    added 2 commits that reference this issue on Sep 14, 2025

    chore(deps): bump org.apache.maven.plugins:maven-surefire-plugin from…

    f332dcd

    chore(deps): bump org.apache.maven.plugins:maven-failsafe-plugin from…

    e785fe7
  11. mergify
    added a commit that references this issue on May 10, 2026

    chore(studio-deps-dev)(deps-dev): bump semver from 7.7.4 to 7.8.0 in …

    8d6fd4f
  12. tae898
    added 6 commits that reference this issue on Jun 28, 2026

    fix: cypher resultset flat list of maps

    41c174a

    fix: recent change to fix ArcadeData#860 created a regression

    52073cb

    chore(deps): bump docker/login-action from 3.4.0 to 3.5.0 [skip ci]

    af72aa7

    chore(deps): bump org.apache.maven.plugins:maven-surefire-plugin from…

    a31ffcf

    chore(deps): bump org.apache.maven.plugins:maven-failsafe-plugin from…

    bc97773

    chore(studio-deps-dev)(deps-dev): bump semver from 7.7.4 to 7.8.0 in …

    3b9000b
  13. mergify
    added a commit that references this issue on Jun 29, 2026

    chore(deps): update testcontainers requirement from >=4.13.3 to >=4.1…

    52443b6
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

No type

Projects

No projects

    Milestone

    • 23.2.1

    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.