jmckenzie-dev commented on code in PR #3562:
URL: https://github.com/apache/cassandra/pull/3562#discussion_r1920458059
##########
src/java/org/apache/cassandra/schema/ColumnMetadata.java:
##########
@@ -275,6 +318,11 @@ public boolean isMasked()
return mask != null;
}
+ public boolean hasConstraint()
+ {
+ return hasConstraints;
Review Comment:
I'm in the "cache when you've measured that you need to" camp, so I say drop
it unless a profiler informs us otherwise.
--
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]