You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gRPC Java client: Cypher MATCH (n) RETURN n (and SQL SELECT @this) yields a vertex whose only property is "n", so vertex.get("name") is null #12196
buggrpcgRPC wire protocol (grpc/grpc-client/grpcw)opencypherseverity:majorA feature is broken or returns wrong results, with no practical workaroundsql
Over the gRPC Java client (RemoteGrpcDatabase.query()), a row that the engine answers as an element plus a projection, such as Cypher MATCH (n:Person) RETURN n or SQL SELECT @rid, @type, @this FROM ..., arrives as a vertex whose only property is the projection alias (n or @this) holding the record as a map. vertex.get("name") is null and getPropertyNames() is [n]. The HTTP client and the embedded API return the vertex with its own properties (name, age).
Also, rows with several record columns (RETURN a, r, b) give each column as a raw Map with @rid/@cat keys rather than a record (the HTTP client has its own, different, wrong shape for those: #12184).
ArcadeDbGrpcService.convertResultToGrpcRecord() (grpcw) sets the GrpcRecord's rid/type from result.toElement() when result.isElement(), but fills properties from result.getPropertyNames(), which for these results are the projection aliases (n, or @rid/@type/@this), not the element's properties. RemoteGrpcDatabase.grpcRecordToDBRecord() then sees a rid, a type and @cat=v and builds a RemoteImmutableVertex from those alias properties (@rid/@type are dropped as metadata, which is why only @this is left in the SQL case). The HTTP JsonSerializer serializes the element itself for the same Result.
What was wrong: over the gRPC Java client, a query that returns a whole record, such as MATCH (n:Person) RETURN n, gave back a vertex whose only property was n, so get("name") answered null. SELECT @rid, @type, @this had the same problem with @this. Rows with several record columns (RETURN a, r, b) gave each column as a raw Map instead of a record.
What changes for you: gRPC results now have the same shape as the embedded API:
RETURN n returns the vertex or edge with its own properties (name, age).
A column that holds a record (RETURN a, r, b, SQL @this, each record inside collect(n)) is a Document, Vertex or Edge, not a Map.
The columns of a projection keep the order of the query.
If your code worked around the bug by reading vertex.get("n") or by casting a record column to Map, change it to read the record directly. Note that a map your query builds with a valid @rid and the name of an existing type as @type is now also returned as a record.
The HTTP Java client has its own, different problem with record columns. That one is tracked in #12184.
❤️ 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.
buggrpcgRPC wire protocol (grpc/grpc-client/grpcw)opencypherseverity:majorA feature is broken or returns wrong results, with no practical workaroundsql
Activity
fix(ArcadeData#12196): a record column the driver cannot build stays …
fix(ArcadeData#12196): pin the limit of the record-shape rule in a te…
fix(ArcadeData#12196): convert every record item of a list, and keep …
lvca commentedon Nov 18, 2026
Fixed by #12226, shipping in 26.12.1.
What was wrong: over the gRPC Java client, a query that returns a whole record, such as
MATCH (n:Person) RETURN n, gave back a vertex whose only property wasn, soget("name")answerednull.SELECT @rid, @type, @thishad the same problem with@this. Rows with several record columns (RETURN a, r, b) gave each column as a rawMapinstead of a record.What changes for you: gRPC results now have the same shape as the embedded API:
RETURN nreturns the vertex or edge with its own properties (name,age).RETURN a, r, b, SQL@this, each record insidecollect(n)) is aDocument,VertexorEdge, not aMap.If your code worked around the bug by reading
vertex.get("n")or by casting a record column toMap, change it to read the record directly. Note that a map your query builds with a valid@ridand the name of an existing type as@typeis now also returned as a record.The HTTP Java client has its own, different problem with record columns. That one is tracked in #12184.
❤️ 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.
fix(ArcadeData#12196): gRPC sends a RETURN n row as the element and r…