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


##########
processing/src/main/java/org/apache/druid/segment/VirtualColumn.java:
##########
@@ -336,4 +336,12 @@ default ColumnIndexSupplier getIndexSupplier(
   {
     return NoIndexesColumnIndexSupplier.getInstance();
   }
+
+  /**
+   * Check if a virtual column is the same as some other virtual column, 
ignoring output name.
+   */
+  default boolean isEquivalent(VirtualColumn other)
+  {
+    return this.equals(other);
+  }

Review Comment:
   stuff probably should implement hashcode + equals anyway, but I'm not really 
comfortable at this time changing the contract of equals and hashcode to not 
include the output name, since it is more of a behavioral change than I was 
really looking to make at this time.



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