ribaraka opened a new issue, #1938:
URL: https://github.com/apache/cassandra-gocql-driver/issues/1938
When reading rows that contain a top-level UDT column,
`MapScan(map[string]interface{})` does not preserve the decoded UDT field
values, while `Scan(&map[string]interface{})` works as expected.
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{}
### 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
### 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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]