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: [email protected]
For additional commands, e-mail: [email protected]