maedhroz commented on code in PR #2409:
URL: https://github.com/apache/cassandra/pull/2409#discussion_r1227246720


##########
src/java/org/apache/cassandra/db/ClusteringComparator.java:
##########
@@ -353,6 +353,8 @@ public <V> Clustering<V> 
clusteringFromByteComparable(ValueAccessor<V> accessor,
     {
         ByteComparable.Version version = ByteComparable.Version.OSS50;
         ByteSource.Peekable orderedBytes = 
ByteSource.peekable(comparable.asComparableBytes(version));
+        if (orderedBytes == null)
+            return null;

Review Comment:
   note to self: Figure out when `orderedBytes` is `null` here...



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