tengu-alt commented on code in PR #1785:
URL: 
https://github.com/apache/cassandra-gocql-driver/pull/1785#discussion_r1850298003


##########
helpers.go:
##########
@@ -331,21 +331,27 @@ func (iter *Iter) RowData() (RowData, error) {
        values := make([]interface{}, 0, len(iter.Columns()))
 
        for _, column := range iter.Columns() {
-               if c, ok := column.TypeInfo.(TupleTypeInfo); !ok {
-                       val, err := column.TypeInfo.NewWithError()
-                       if err != nil {
-                               return RowData{}, err
-                       }
+               if column.Name == "rack" && column.Keyspace == "system" && 
(column.Table == "peers_v2" || column.Table == "peers") {

Review Comment:
   There is #1834, which allows to handle a nullable value. After #1834 is 
merged, I will refactor this PR using the nullable scan functional. This should 
help to avoid the hack.



-- 
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]

Reply via email to