func (b *executorBuilder) buildSort(v *plan.Sort) Executor { src := b.build(v.Src()) e := &SortExec{ Src: src, ByItems: v.ByItems, ctx: b.ctx, } return e }
func (b *executorBuilder) buildSort(v *plan.Sort) Executor { src := b.build(v.Src()) if v.Bypass && !v.ByItems[0].Desc { return src } e := &SortExec{ Src: src, ByItems: v.ByItems, ctx: b.ctx, } return e }