dcapwell commented on code in PR #3731:
URL: https://github.com/apache/cassandra/pull/3731#discussion_r1896168467


##########
src/java/org/apache/cassandra/db/filter/RowFilter.java:
##########
@@ -529,7 +530,7 @@ protected ByteBuffer getValue(TableMetadata metadata, 
DecoratedKey partitionKey,
                     return row.clustering().bufferAt(column.position());
                 default:
                     Cell<?> cell = row.getCell(column);
-                    return cell == null ? null : cell.buffer();
+                    return Cell.getValidCellBuffer(cell, nowInSeconds());

Review Comment:
   sorry, been bad about getting back to this... im not a fan of `nowInSeconds` 
 being called here as we should really do this once per query... im trying to 
reviewer the higher level calling code to see if there is something we can do 
to improve this...



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