diff --git a/influx/query_test.go b/influx/query_test.go index 0bb95001e3..c814c69cc0 100644 --- a/influx/query_test.go +++ b/influx/query_test.go @@ -525,6 +525,12 @@ func TestConvert(t *testing.T) { }, }, }, + + { + name: "Test invalid fill rejected", + influxQL: `SELECT mean("usage_idle") FROM "telegraf"."autogen"."cpu" WHERE time > now() - 15m GROUP BY time(1m) FILL(LINEAR)`, + wantErr: true, + }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) {