From 85a5193ab4771e95a542b75d8eaf4edb2449bc2c Mon Sep 17 00:00:00 2001 From: Matthew Nibecker Date: Wed, 22 Nov 2023 10:02:20 -0800 Subject: [PATCH] Update zio/csvio/writer.go Co-authored-by: Noah Treuhaft --- zio/csvio/writer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 })