apache / apache/cassandra-gocql-driver

metadata: handle UDT types correctly

Open
#1,053 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
2.7k
Forks
658
PR merge metrics
No merged PRs in 30d

Description

Currently UDT's will be parsed into NativeType{typ: TypeCustom} which is wrong, we should read the types from system_schemas.types and then create a UDTType from that.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the metadata parsing path that currently produces NativeType{typ: TypeCustom}, then read system_schemas.types and the existing UDTType representation. Verify the change with coverage for UDT metadata, ensuring UDTs are represented as UDTType rather than NativeType.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.