XieJiann commented on code in PR #15775: URL: https://github.com/apache/doris/pull/15775#discussion_r1066598064
########## fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java: ########## @@ -807,6 +830,19 @@ public Expression visitDate_sub(Date_subContext ctx) { + ", supported time unit: YEAR/MONTH/DAY/HOUR/MINUTE/SECOND", ctx); } + @Override + public Expression visitDoublePipes(DorisParser.DoublePipesContext ctx) { + return ParserUtils.withOrigin(ctx, () -> { + Expression left = getExpression(ctx.left); + Expression right = getExpression(ctx.right); + if (sessionVariable.getSqlMode() == SqlModeHelper.MODE_PIPES_AS_CONCAT) { Review Comment: done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org