jon-wei commented on a change in pull request #7974: more sql support for
expression array functions
URL: https://github.com/apache/incubator-druid/pull/7974#discussion_r299630020
##########
File path: core/src/main/java/org/apache/druid/math/expr/Expr.java
##########
@@ -270,6 +270,21 @@ public BindingDetails analyzeInputs()
}
}
+abstract class NullNumericConstantExpr extends ConstantExpr
+{
+ @Override
+ public Object getLiteralValue()
+ {
+ return null;
+ }
+
+ @Override
+ public String toString()
+ {
+ return String.valueOf(null);
Review comment:
This would return the string "null", is that intended? If so, this could
just return "null"
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]