You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/11/04 12:04:43 UTC

[GitHub] [calcite] jinxing64 commented on a change in pull request #1531: [CALCITE-3447] Fix equals and hashcode methods of class MutableScan

jinxing64 commented on a change in pull request #1531: [CALCITE-3447] Fix equals and hashcode methods of class MutableScan
URL: https://github.com/apache/calcite/pull/1531#discussion_r342016866
 
 

 ##########
 File path: core/src/main/java/org/apache/calcite/rel/mutable/MutableScan.java
 ##########
 @@ -36,11 +36,12 @@ public static MutableScan of(TableScan scan) {
   @Override public boolean equals(Object obj) {
     return obj == this
         || obj instanceof MutableScan
-        && rel.equals(((MutableScan) obj).rel);
+        && rel.getTable().getQualifiedName().equals(((MutableScan) obj).rel
 
 Review comment:
   Should give an indentation here ?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services