abhishekrb19 commented on code in PR #17382:
URL: https://github.com/apache/druid/pull/17382#discussion_r1807562324


##########
sql/src/main/java/org/apache/druid/sql/calcite/planner/ExplainAttributes.java:
##########
@@ -117,6 +120,31 @@ public String getReplaceTimeChunks()
     return replaceTimeChunks;
   }
 
+  @Override
+  public boolean equals(Object o)
+  {
+    if (this == o) {
+      return true;
+    }
+    if (o == null || getClass() != o.getClass()) {
+      return false;
+    }
+    ExplainAttributes that = (ExplainAttributes) o;
+    return Objects.equals(statementType, that.statementType) && Objects.equals(
+        targetDataSource,
+        that.targetDataSource
+    ) && Objects.equals(partitionedBy, that.partitionedBy) && Objects.equals(
+        clusteredBy,
+        that.clusteredBy
+    ) && Objects.equals(replaceTimeChunks, that.replaceTimeChunks);

Review Comment:
   Ah yeah, not sure why Intellij formatted it weirdly. Fixed.



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