clintropolis commented on code in PR #18334:
URL: https://github.com/apache/druid/pull/18334#discussion_r2246480946


##########
processing/src/main/java/org/apache/druid/segment/virtual/ExpressionVirtualColumn.java:
##########
@@ -449,20 +456,21 @@ public boolean equals(Object o)
         return false;
       }
       Expression that = (Expression) o;
-      return Objects.equals(expressionString, that.expressionString) && 
Objects.equals(outputType, that.outputType);
+      return Objects.equals(parsed.get().stringify(), 
that.parsed.get().stringify())

Review Comment:
   adding some equals/hashcode checks to `FunctionTest` has hit a handful of 
failures, so my hunch was maybe correct. This is certainly wack that 
equals/hashcode are not equal, but i think the verdict is that i'll leave this 
as using stringify until i can fix 



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