You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "ribaraka (via GitHub)" <gi...@apache.org> on 2026/03/30 15:21:46 UTC

[I] MapScan does not preserve top-level UDT values (returns empty map) [cassandra-gocql-driver]

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: commits-unsubscribe@cassandra.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Re: [I] MapScan does not preserve top-level UDT values (returns empty map) [cassandra-gocql-driver]

Posted by "worryg0d (via GitHub)" <gi...@apache.org>.
worryg0d commented on issue #1938:
URL: https://github.com/apache/cassandra-gocql-driver/issues/1938#issuecomment-4766117221

   It should be fixed since 2.1.1. Feel free to re-open it still persists


-- 
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: commits-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Re: [I] MapScan does not preserve top-level UDT values (returns empty map) [cassandra-gocql-driver]

Posted by "worryg0d (via GitHub)" <gi...@apache.org>.
worryg0d commented on issue #1938:
URL: https://github.com/apache/cassandra-gocql-driver/issues/1938#issuecomment-4198427811

   Should be fixed on trunk


-- 
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: commits-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Re: [I] MapScan does not preserve top-level UDT values (returns empty map) [cassandra-gocql-driver]

Posted by "worryg0d (via GitHub)" <gi...@apache.org>.
worryg0d commented on issue #1938:
URL: https://github.com/apache/cassandra-gocql-driver/issues/1938#issuecomment-4156301028

   Jira tiket - CASSGO-115


-- 
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: commits-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Re: [I] MapScan does not preserve top-level UDT values (returns empty map) [cassandra-gocql-driver]

Posted by "worryg0d (via GitHub)" <gi...@apache.org>.
worryg0d commented on issue #1938:
URL: https://github.com/apache/cassandra-gocql-driver/issues/1938#issuecomment-4342947382

   2.1.1 release is out so it should be fixed


-- 
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: commits-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Re: [I] MapScan does not preserve top-level UDT values (returns empty map) [cassandra-gocql-driver]

Posted by "worryg0d (via GitHub)" <gi...@apache.org>.
worryg0d closed issue #1938: MapScan does not preserve top-level UDT values (returns empty map)
URL: https://github.com/apache/cassandra-gocql-driver/issues/1938


-- 
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: commits-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org