From 618bd80105442840725ccb1e61f5423ec621fcb6 Mon Sep 17 00:00:00 2001 From: "yusheng.ma" Date: Mon, 13 May 2024 18:02:20 +0800 Subject: [PATCH] fix parens parse bug Signed-off-by: yusheng.ma --- src/parser/parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/parser.h b/src/parser/parser.h index 0d32fbb..1c3f219 100644 --- a/src/parser/parser.h +++ b/src/parser/parser.h @@ -56,7 +56,7 @@ class PlanCCVisitor : public PlanVisitor { // ok virtual std::any visitParens(PlanParser::ParensContext* ctx) override { - return visitChildren(ctx); + return ctx->expr()->accept(this); } // ok virtual std::any