This is an automated email from the ASF dual-hosted git repository.
kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 33486b0005 [branch-2.0](nereids)(catalog) fix hive partition prunne
bug (#22935)
33486b0005 is described below
commit 33486b0005b1d3f457fc37afaedcd704ec17f45b
Author: Mingyu Chen <[email protected]>
AuthorDate: Mon Aug 14 15:06:58 2023 +0800
[branch-2.0](nereids)(catalog) fix hive partition prunne bug (#22935)
---
.../apache/doris/nereids/trees/plans/logical/LogicalFileScan.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalFileScan.java
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalFileScan.java
index af5dcaa0f0..3d4da53a89 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalFileScan.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalFileScan.java
@@ -31,6 +31,7 @@ import com.google.common.base.Preconditions;
import com.google.common.collect.Sets;
import java.util.List;
+import java.util.Objects;
import java.util.Optional;
import java.util.Set;
@@ -98,4 +99,9 @@ public class LogicalFileScan extends LogicalCatalogRelation {
public Set<Expression> getConjuncts() {
return this.conjuncts;
}
+
+ @Override
+ public boolean equals(Object o) {
+ return super.equals(o) && Objects.equals(conjuncts, ((LogicalFileScan)
o).conjuncts);
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]