Skip to content

bug: ReadTable with UUID column #15697

@KirillKurdyukov

Description

@KirillKurdyukov

Our ReadTable returns an array of bytes instead of high and low values for the UUID type.

Repro:

CREATE TABLE issues ( id UUID NOT NULL, title Text, created_at Timestamp, author Text, PRIMARY KEY (id) ); 

Output:

ReadTable: Ticket: {id: 00000000-0000-0000-0000-000000000000, title: t3, timestamp: 2025-03-13T12:38:05.019331Z, author: a3, link_count: 0, status: } Ticket: {id: 00000000-0000-0000-0000-000000000000, title: t4, timestamp: 2025-03-13T12:38:05.019335Z, author: a4, link_count: 0, status: } Ticket: {id: 00000000-0000-0000-0000-000000000000, title: t2, timestamp: 2025-03-13T12:38:05.019308Z, author: a2, link_count: 0, status: } Ticket: {id: 00000000-0000-0000-0000-000000000000, title: t1, timestamp: 2025-03-13T12:38:05.019108Z, author: a1, link_count: 0, status: } Ticket: {id: 00000000-0000-0000-0000-000000000000, title: t5, timestamp: 2025-03-13T12:38:05.019354Z, author: a5, link_count: 0, status: } Print all issues from QueryService: Ticket: {id: 089af640-bf07-4b71-a69d-df9fa4a4db39, title: t3, timestamp: 2025-03-13T12:38:05.019331Z, author: a3, link_count: 0, status: } Ticket: {id: 8610cc79-5dcf-468e-92a6-c748970c1432, title: t4, timestamp: 2025-03-13T12:38:05.019335Z, author: a4, link_count: 0, status: } Ticket: {id: feec967d-77b8-4d27-b9cd-b3f072036021, title: t2, timestamp: 2025-03-13T12:38:05.019308Z, author: a2, link_count: 0, status: } Ticket: {id: 1ad56b87-ba53-470e-a376-ff4ac3560668, title: t1, timestamp: 2025-03-13T12:38:05.019108Z, author: a1, link_count: 0, status: } Ticket: {id: b0c56be9-9ac4-4121-9341-4cc13f639f92, title: t5, timestamp: 2025-03-13T12:38:05.019354Z, author: a5, link_count: 0, status: } 

Image

Metadata

Metadata

Assignees

Labels

area/datashardIssues related to datashard tablets (relational table partitions)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions