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

Function stripFirstThisPathComponent

compiler/optimizer/join.go:176–181  ·  view source on GitHub ↗

stripFirstThisPathComponent removes the first component of every dag.This.Path in e.

(e dag.Expr)

Source from the content-addressed store, hash-verified

174
175// stripFirstThisPathComponent removes the first component of every dag.This.Path in e.
176func stripFirstThisPathComponent(e dag.Expr) {
177 walkT(reflect.ValueOf(e), func(t dag.ThisExpr) dag.ThisExpr {
178 t.Path = t.Path[1:]
179 return t
180 })
181}

Callers 2

liftFilterIntoJoinFunction · 0.85
equiJoinKeyExprsFunction · 0.85

Calls 1

walkTFunction · 0.85

Tested by

no test coverage detected