You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stanislav Bychkov (Jira)" <ji...@apache.org> on 2026/03/30 15:47:00 UTC
[jira] [Created] (CASSGO-115) MapScan does not preserve top-level UDT values (returns empty map)
Stanislav Bychkov created CASSGO-115:
----------------------------------------
Summary: MapScan does not preserve top-level UDT values (returns empty map)
Key: CASSGO-115
URL: https://issues.apache.org/jira/browse/CASSGO-115
Project: Apache Cassandra Go driver
Issue Type: Bug
Components: Core
Reporter: Stanislav Bychkov
When reading rows that contain a top-level UDT column, MapScan() does not preserve the decoded UDT field values.
For a top-level frozen<udt> column:
* Scan(...) can decode the UDT correctly
* MapScan(...) returns the row, but the UDT value is an empty map[string]interface{}
h4. Expected behavior
MapScan should preserve top-level UDT contents consistently with Scan
A non-null UDT column should decode into a populated map[string]interface{} containing its field values
h4. This is particularly problematic because:
The column itself is present
No error is raised
The data is silently lost rather than missing or failing loudly
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org