apache / apache/age-viewer

Different query results in age-views

Open
#197 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
387
Forks
268
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug✱
The results of the same query are different.

Query is:
select * from cypher('age_test_graph', $$ MATCH (p:Person {name: "Tom Hanks"}) RETURN p $$) as (p agtype);

Query results in Postico, pgadmin4 and psql:
{"id": 25332747903959097, "label": "Person", "properties": {"born": 1956, "name": "Tom Hanks"}}

Query result in age-viewer:
{"id":25332747903959096,"label":"Person","properties":{"born":1956,"name":"Tom Hanks"}}
The id shown is that of another record in the corresponding Person table, wonder why / how.

I expect the same result in age-viewer

- age-viewer: latest pull from git repo

Image

- OS: MacOS
- Browser Safari
- Version 26.6.2

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the provided cypher query in age-viewer and compare its displayed result with Postico, pgAdmin4, and psql. Trace the age-viewer query-result handling using the reported Person record IDs; done means the viewer displays the same ID and properties as the other clients.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, postgresql
Domain
database, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.