MCPcopy Create free account
hub / github.com/araddon/qlbridge / needsFinalProjection

Function needsFinalProjection

plan/planner_select.go:12–24  ·  view source on GitHub ↗
(s *rel.SqlSelect)

Source from the content-addressed store, hash-verified

10)
11
12func needsFinalProjection(s *rel.SqlSelect) bool {
13 if s.Having != nil {
14 return true
15 }
16 // Where?
17 if len(s.OrderBy) > 0 {
18 return true
19 }
20 if len(s.GroupBy) > 0 {
21 return true
22 }
23 return false
24}
25
26// WalkSelect walk a select statement filling out plan.
27func (m *PlannerDefault) WalkSelect(p *Select) error {

Callers 1

WalkSelectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected