Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

influxql: when using derivative, check 'group by time' instead of 'where time ...' #4149

Merged
merged 1 commit into from
Sep 30, 2015

Commits on Sep 18, 2015

  1. 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 > ...
    jarisukanen committed Sep 18, 2015
    Configuration menu
    Copy the full SHA
    c844ec1 View commit details
    Browse the repository at this point in the history