Multiple sample rates in the same query

I intend to downsample data, but the problem is that I also want to be able to query across these downsampled versions of the same measurement from different rollups so that the resulting dataset will decrease in sample rate as timestamps get older. This, of course, is possible by querying from all the rollups and then joining the results outside influx, but it misses the point, as the queries won’t be retention policy agnostic
Is there any other strategy to downsampling so that can be possible?

Hi Serban,

Unfortunately we don’t have the ability to query across rollups, although there is an open GitHub issue that intends to address this: Intelligent Rollups and Querying of Aggregated Data · Issue #7198 · influxdata/influxdb · GitHub

In the meantime you’ll need a query for each of the retention policies.