[ 
https://issues.apache.org/jira/browse/CASSGO-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

João Reis updated CASSGO-115:
-----------------------------
    Status: Ready to Commit  (was: Review In Progress)

> 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
>            Priority: Normal
>             Fix For: 2.1.1
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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]

Reply via email to