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

morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
     new c789a472771 [fix](planner) createColumnAndViewDefs method use wrong 
analyzer (#25005) (#31014)
c789a472771 is described below

commit c789a47277105e89a0472d87a72e4c3aa20ef661
Author: Mingyu Chen <[email protected]>
AuthorDate: Fri Feb 9 17:41:53 2024 +0800

    [fix](planner) createColumnAndViewDefs method use wrong analyzer (#25005) 
(#31014)
    
    bp #25005
    Co-authored-by: starocean999 
<[email protected]>
---
 fe/fe-core/src/main/java/org/apache/doris/analysis/CreateViewStmt.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/analysis/CreateViewStmt.java 
b/fe/fe-core/src/main/java/org/apache/doris/analysis/CreateViewStmt.java
index 22adaaad7c0..10bcc702539 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/analysis/CreateViewStmt.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/CreateViewStmt.java
@@ -80,7 +80,7 @@ public class CreateViewStmt extends BaseViewStmt {
             Analyzer viewAnalyzer = new Analyzer(analyzer);
             viewDefStmt.analyze(viewAnalyzer);
 
-            createColumnAndViewDefs(analyzer);
+            createColumnAndViewDefs(viewAnalyzer);
         } finally {
             // must reset this flag, otherwise, all following query statement 
in this connection
             // will not do constant fold for nondeterministic functions.


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

Reply via email to