From 4922b796e5cce4058f681e8b3c01a2d2523f6592 Mon Sep 17 00:00:00 2001 From: feiniaofeiafei Date: Mon, 25 Mar 2024 11:35:53 +0800 Subject: [PATCH] [feat](nereids) support create view in nereids --- .../org/apache/doris/nereids/trees/expressions/WindowFrame.java | 1 + .../doris/nereids/trees/plans/commands/info/CreateViewInfo.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/WindowFrame.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/WindowFrame.java index 1f9460ea0278b8..5cbb93ce3748ea 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/WindowFrame.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/WindowFrame.java @@ -215,6 +215,7 @@ public String toString() { return sb.toString(); } + /** toSql*/ public String toSql() { StringBuilder sb = new StringBuilder(); boundOffset.ifPresent(value -> sb.append(value + " ")); diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/CreateViewInfo.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/CreateViewInfo.java index 7abe361c8be384..6e67b7a8697e9b 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/CreateViewInfo.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/CreateViewInfo.java @@ -52,7 +52,6 @@ import org.apache.doris.qe.ConnectContext; import com.google.common.collect.Lists; -import com.google.common.collect.Maps; import com.google.common.collect.Sets; import org.antlr.v4.runtime.ParserRuleContext; import org.antlr.v4.runtime.tree.ParseTree;