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

Function addTableAlias

compiler/semantic/schema.go:613–626  ·  view source on GitHub ↗
(t relTable, table string)

Source from the content-addressed store, hash-verified

611}
612
613func addTableAlias(t relTable, table string) relTable {
614 switch t := t.(type) {
615 case *dynamicTable:
616 return &dynamicTable{table: table}
617 case *staticTable:
618 return &staticTable{
619 table: table,
620 typ: t.typ,
621 }
622 default:
623 // There shouldn't be any other table types.
624 panic(t)
625 }
626}

Callers 1

applyAliasFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected