Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: brimdata/super
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0f772285e4ca78c6f015be8973c42b96858b42f2
Choose a base ref
..
head repository: brimdata/super
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7be4063ca7f93ca218187b8f95f7cc0e68135d65
Choose a head ref
Showing with 3 additions and 3 deletions.
  1. +3 −3 runtime/expr/map.go
6 changes: 3 additions & 3 deletions runtime/expr/map.go
Original file line number Diff line number Diff line change
@@ -36,9 +36,9 @@ func (a *mapCall) Eval(ectx Context, in *zed.Value) *zed.Value {
a.vals = a.vals[:0]
a.types = a.types[:0]
for _, elem := range elems {
out := a.inner.Eval(ectx, &elem)
a.vals = append(a.vals, *out)
a.types = append(a.types, out.Type)
val := a.inner.Eval(ectx, &elem)
a.vals = append(a.vals, *val)
a.types = append(a.types, val.Type)
}
inner := a.innerType(a.types)
bytes := a.buildVal(inner, a.vals)