Skip to content

Commit c7cde83

Browse files
authored
logsql/stats: clarify error message for unsafe pipes before stats (#878)
1 parent 8997983 commit c7cde83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/logstorage/parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ func (q *Query) GetStatsLabelsAddGroupingByTime(step int64) ([]string, error) {
10611061
continue
10621062
}
10631063
if !p.canReturnLastNResults() {
1064-
return nil, fmt.Errorf("the pipe `| %q` cannot be put in front of `| %q`, since it modifies or deletes `_time` field", p, ps)
1064+
return nil, fmt.Errorf("the pipe `| %q` cannot be put in front of `| %q`, since it may modify or delete `_time` field", p, ps)
10651065
}
10661066
}
10671067
}

0 commit comments

Comments
 (0)