[fix](planner) createColumnAndViewDefs method use wrong analyzer (#25005)
This commit is contained in:
@ -81,7 +81,7 @@ public class CreateViewStmt extends BaseViewStmt {
|
||||
viewDefStmt.forbiddenMVRewrite();
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user