gianm commented on code in PR #15743:
URL: https://github.com/apache/druid/pull/15743#discussion_r1479179999
##########
processing/src/main/java/org/apache/druid/math/expr/ConstantExpr.java:
##########
@@ -39,9 +40,12 @@
* {@link Expr.ObjectBinding}. {@link ConstantExpr} are terminal nodes of an
expression tree, and have no children
* {@link Expr}.
*/
+@Immutable
abstract class ConstantExpr<T> implements Expr
{
final ExpressionType outputType;
+
+ @SuppressWarnings("Immutable")
Review Comment:
What does `@Immutable` do and why are these various
`@SuppressWarnings("Immutable")` necessary (here, in BaseTypeSignature, in
ColumnCapabilitiesImpl)?
I am not familiar with this annotation so was just wondering what the extra
lines are for.
--
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]