From 6721fe84734ede68742db223eddcee4c19cd30fa Mon Sep 17 00:00:00 2001 From: xhe Date: Tue, 9 Aug 2022 17:34:14 +0800 Subject: [PATCH] *: fix CI Signed-off-by: xhe --- executor/show.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/executor/show.go b/executor/show.go index dda1e1a3146ae..473b962d1a78f 100644 --- a/executor/show.go +++ b/executor/show.go @@ -1764,7 +1764,7 @@ func tryFillViewColumnType(ctx context.Context, sctx sessionctx.Context, is info if tbl.IsView() { // Retrieve view columns info. planBuilder, _ := plannercore.NewPlanBuilder( - plannercore.PlanBuilderOptNoExecution{}).Init(s, is, &hint.BlockHintProcessor{}) + plannercore.PlanBuilderOptNoExecution{}).Init(sctx, is, &hint.BlockHintProcessor{}) if viewLogicalPlan, err := planBuilder.BuildDataSourceFromView(ctx, dbName, tbl); err == nil { viewSchema := viewLogicalPlan.Schema() viewOutputNames := viewLogicalPlan.OutputNames()