[fix](planner) createColumnAndViewDefs method use wrong analyzer (#25005)

This commit is contained in:
starocean999
2023-09-28 19:59:04 +08:00
committed by GitHub
parent 864a0f9bcb
commit 5dd70b8a25
2 changed files with 7 additions and 1 deletions

View File

@ -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.