-
Notifications
You must be signed in to change notification settings - Fork 156
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
Add support using intermediate results in filter functions #425
Comments
We discussed this heavily at InfluxDays London. One possible implementation is to transform all One challenge will be expressing these operations in the query Spec. |
See #298 the IR approach will make this possible |
See #1321 |
I am currently trying to accomplish what OP has shown above with InfluxDB 2.1.1. Is there any "clutch" or work-around I can use to replace the missing Use case: reduce a large number of monitored traffic flows to the 10, 20, 50 most active ones in a graph. |
Have a look at this function in Flux https://docs.influxdata.com/flux/v0.x/stdlib/universe/findrecord/ and its related functions. Closing this issue as its now generally possible to use intermediate results in queries. Thanks for pinging on this issue. |
@nathanielc thanks for that prompt feedback! As it was not quite straightforward to discover this pattern for myself (the community forum helped very much, though), I'll document here how to do it:
|
From ifql created by nathanielc : influxdata/ifql#200
The equivalent IFQL query is:
influxdata/influxdb#1819
influxdata/influxdb#7894
influxdata/influxdb#2157
The text was updated successfully, but these errors were encountered: