diff --git a/cmd/influx_inspect/export/parquet/models/points.go b/cmd/influx_inspect/export/parquet/models/points.go index 2867b4b11d8..033b7def4fe 100644 --- a/cmd/influx_inspect/export/parquet/models/points.go +++ b/cmd/influx_inspect/export/parquet/models/points.go @@ -259,14 +259,14 @@ func scanMeasurement(bufe Escaped, i int) (int, int, error) { // It can't be a space, since whitespace is stripped prior to this // function call. if i >= len(buf) || buf[i] == ',' { - return -1, i, fmt.Errorf("missing measurement in: %q", buf) + return -1, i, fmt.Errorf("missing measurement in: %q", string(buf)) } for { i++ if i >= len(buf) { // cpu - return -1, i, fmt.Errorf("missing fields in: %d", buf) + return -1, i, fmt.Errorf("missing fields in: %q", string(buf)) } if buf[i-1] == '\\' {