jameshartig commented on issue #1909: URL: https://github.com/apache/cassandra-gocql-driver/issues/1909#issuecomment-3507548492
@Tang8330 Can you clarify the specific issue with tuples? If a tuple is NULL and you send `*[]int` to Unmarshal we should be setting the pointer's value to `[]int(nil)`. Can you also specify if you're using v1.x or v2.x since this changed in v2. That said, I don't understand how your "unfold" method changes any behavior related to NULL tuples. Instead it seems like that method rewrites the tuples to instead be a map with keys like `field0` which seems unrelated to the NULL tuples in the original message. Separately, I'd avoid using `MapScan` if you desire specific column behavior, especially with tuples, since that method assumes you want to use the nomenclature defined by `TupleColumnName`. -- 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]
