FrankChen021 commented on code in PR #12995:
URL: https://github.com/apache/druid/pull/12995#discussion_r958191075


##########
core/src/main/java/org/apache/druid/math/expr/BinaryOperatorExpr.java:
##########
@@ -152,11 +152,13 @@ public ExprEval eval(ObjectBinding bindings)
 
   protected ExprEval evalString(@Nullable String left, @Nullable String right)
   {
-    throw new IAE("operator '%s' in expression (%s %s %s) is not supported on 
type 'string'.",
-                  this.op,
-                  this.left.stringify(),
-                  this.op,
-                  this.right.stringify());
+    throw new IAE(
+        "operator '%s' in expression (%s %s %s) is not supported on type 
'string'.",

Review Comment:
   ```suggestion
           "operator '%s' in expression (%s %s %s) is not supported on type 
STRING.",
   ```
   



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