Skip to content

Aggregate functions doesnot work with Limit values in InfluxQL query #63

@kondubhSICKAG

Description

@kondubhSICKAG

I am using influx 2.7 v2 version with influx query. I have a scenario where I need to get min, max values of last 10 records. Query that I was using
select min(*) from "testapis" order by time desc limit 10; Shown as below
image (1)
here are my last 10 records
select * from "testapis" order by time desc limit 10
image

Do we have a way to address this ? or is there a work around ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions