-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
influxql: when using derivative, check 'group by time' instead of 'wh…
…ere time ...' When using derivative, it is required that aggregate function is used as sub-call when grouping by time is used. However, AST parsing used to check if WHERE-clause contained condition with 'time'. Fix this by changing check to see if groupByInterval is present. Modify also related error case tests and add check for select derivative(...) ... where time > ...
- Loading branch information
1 parent
83d2df1
commit c844ec1
Showing
2 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters