In Process projections are used when mapping multiple sources together and additional columns such as those used in Where, GroupBy etc are used even if they will not be used in Final projection
(ctx *plan.Context, p *plan.Projection)
| 35 | // and additional columns such as those used in Where, GroupBy etc are used |
| 36 | // even if they will not be used in Final projection |
| 37 | func NewProjectionInProcess(ctx *plan.Context, p *plan.Projection) *Projection { |
| 38 | s := &Projection{ |
| 39 | TaskBase: NewTaskBase(ctx), |
| 40 | p: p, |
| 41 | } |
| 42 | s.Handler = s.projectionEvaluator(p.Final) |
| 43 | return s |
| 44 | } |
| 45 | |
| 46 | // Final Projections project final select columns for result-writing |
| 47 | func NewProjectionFinal(ctx *plan.Context, p *plan.Projection) *Projection { |
no test coverage detected