This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch dev-1.1.2
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/dev-1.1.2 by this push:
     new 197e80d77b [fix](planner) fix rewrite subquery error (#12075)
197e80d77b is described below

commit 197e80d77ba28d273a8763cc8bb59acd75b7eae3
Author: luozenglin <[email protected]>
AuthorDate: Fri Aug 26 14:29:14 2022 +0800

    [fix](planner) fix rewrite subquery error (#12075)
---
 fe/fe-core/src/main/java/org/apache/doris/analysis/Subquery.java | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/Subquery.java 
b/fe/fe-core/src/main/java/org/apache/doris/analysis/Subquery.java
index 2d8cb978c8..59cc2190a6 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/analysis/Subquery.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/Subquery.java
@@ -189,6 +189,14 @@ public class Subquery extends Expr {
         return ret;
     }
 
+    @Override
+    public Expr reset() {
+        super.reset();
+        stmt.reset();
+        analyzer = null;
+        return this;
+    }
+
     @Override
     protected void toThrift(TExprNode msg) {}
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to