You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2024/02/09 09:42:00 UTC

(doris) branch branch-1.2-lts updated: [fix](planner) createColumnAndViewDefs method use wrong analyzer (#25005) (#31014)

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 <mo...@163.com>
AuthorDate: Fri Feb 9 17:41:53 2024 +0800

    [fix](planner) createColumnAndViewDefs method use wrong analyzer (#25005) (#31014)
    
    bp #25005
    Co-authored-by: starocean999 <40...@users.noreply.github.com>
---
 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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org