MikaelGRA / InfluxDB.Client

InfluxDB Client for .NET
MIT License
102 stars 22 forks source link

Broken parameter binding for GROUP BY time($interval) clause #74

Open skoret opened 3 years ago

skoret commented 3 years ago

Parameter binding works fine for WHERE clause, but it fails with parameters for time($interval) function in GOURP BY clause. Properly formatted query should be like this: ... GROUP BY time(1m) But InfluxDB.Client formats parameter with single quotes, like this: ... GROUP BY time('1m') and InfluxDB returns error: time dimension must have duration argument