gianm commented on a change in pull request #6617: Fix bugs in ExprEval
URL: https://github.com/apache/incubator-druid/pull/6617#discussion_r233659309
##########
File path: core/src/main/java/org/apache/druid/math/expr/ExprEval.java
##########
@@ -197,7 +197,7 @@ public final ExprEval castTo(ExprType castTo)
return this;
case LONG:
if (value == null) {
- return ExprEval.of(null);
+ return ExprEval.ofLong(null);
Review comment:
I'm going to merge this fix now in the interests of getting it backported to
0.13.0. But, please consider the above comments when making future changes to
this file.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]