bereng commented on code in PR #2110:
URL: https://github.com/apache/cassandra/pull/2110#discussion_r1102364856


##########
src/java/org/apache/cassandra/cql3/selection/Selection.java:
##########
@@ -187,7 +187,9 @@ public static Selection fromSelectors(TableMetadata table,
                                                                             
factories,
                                                                             
isJson);
 
-        return (processesSelection(selectables) || selectables.size() != 
selectedColumns.size() || hasGroupBy)
+        boolean hasMaskedColumns = 
selectedColumns.stream().anyMatch(ColumnMetadata::isMasked);

Review Comment:
   As I try to argue in CASSANDRA-18248 I think it boils down to deciding if we 
see streams avoidance as a free lunch or not. Profiling would mean getting the 
actual change in iiuc.



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