Skip to content

Commit

Permalink
cherry pick pingcap#15345 to release-3.1
Browse files Browse the repository at this point in the history
Signed-off-by: sre-bot <[email protected]>
  • Loading branch information
zhaox1n authored and sre-bot committed Apr 8, 2020
1 parent a153f19 commit 0859077
Show file tree
Hide file tree
Showing 3 changed files with 1,507 additions and 0 deletions.
3 changes: 3 additions & 0 deletions planner/core/logical_plan_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -3375,6 +3375,9 @@ func (b *PlanBuilder) buildWindowFunctionFrame(ctx context.Context, spec *ast.Wi

func (b *PlanBuilder) checkWindowFuncArgs(ctx context.Context, p LogicalPlan, windowFuncExprs []*ast.WindowFuncExpr, windowAggMap map[*ast.AggregateFuncExpr]int) error {
for _, windowFuncExpr := range windowFuncExprs {
if strings.ToLower(windowFuncExpr.F) == ast.AggFuncGroupConcat {
return ErrNotSupportedYet.GenWithStackByArgs("group_concat as window function")
}
args, err := b.buildArgs4WindowFunc(ctx, p, windowFuncExpr.Args, windowAggMap)
if err != nil {
return err
Expand Down
Loading

0 comments on commit 0859077

Please sign in to comment.