diff --git a/zio/csvio/writer.go b/zio/csvio/writer.go index fb70ca2965..adab723189 100644 --- a/zio/csvio/writer.go +++ b/zio/csvio/writer.go @@ -103,7 +103,7 @@ func formatValue(typ zed.Type, bytes zcode.Bytes) string { return zson.FormatValue(zed.NewValue(typ, bytes)) } -func fieldsEqual(a, b []zed.Field) bool { +func fieldNamesEqual(a, b []zed.Field) bool { return slices.EqualFunc(a, b, func(a, b zed.Field) bool { return a.Name == b.Name })