MCPcopy Create free account
hub / github.com/brimdata/super / genDistinct

Method genDistinct

compiler/semantic/sql.go:354–359  ·  view source on GitHub ↗
(e sem.Expr, seq sem.Seq)

Source from the content-addressed store, hash-verified

352}
353
354func (t *translator) genDistinct(e sem.Expr, seq sem.Seq) sem.Seq {
355 return append(seq, &sem.DistinctOp{
356 Node: e,
357 Expr: e,
358 })
359}
360
361func (t *translator) sqlFromPipe(pipe *ast.SQLPipe, seq sem.Seq) (sem.Seq, relTable) {
362 if query, ok := maybeSQLQueryBody(pipe); ok {

Callers 2

sqlSelectMethod · 0.95
sqlQueryBodyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected