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


##########
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:
   Shall we avoid streams for perf reasons and move to a classic loop?



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