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

Add support for TS.REVRANGE and TS.MREVRANGE #254

Closed
gkorland opened this issue Nov 29, 2019 · 3 comments
Closed

Add support for TS.REVRANGE and TS.MREVRANGE #254

gkorland opened this issue Nov 29, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request new feature
Projects

Comments

@gkorland
Copy link
Contributor

gkorland commented Nov 29, 2019

This command is exactly like TS.RANGE and TS.MRANGE, but with the notable difference of returning the entries in reverse order, and also taking the start-end range in reverse order:

@filipecosta90
Copy link
Contributor

@gkorland @K-Jo as for your tsbs requirements request:
tsbs q15 groupby-orderby-limit:

The last 5 aggregate readings (across time) before a randomly chosen endpoint

could make usage of this.

@filipecosta90
Copy link
Contributor

filipecosta90 commented Dec 11, 2019

@gkorland @K-Jo for q15 and example of the real query would be:

TS.MREVRANGE {TIMESTAMP} - AGGREGATION max 60000 FILTER measurement=cpu COUNT 5

@filipecosta90 filipecosta90 added the enhancement New feature or request label Dec 11, 2019
@filipecosta90 filipecosta90 self-assigned this Dec 12, 2019
@filipecosta90
Copy link
Contributor

@gkorland @K-Jo will implement this on an experimental branch

@K-Jo K-Jo added this to To do in 1.4 Dec 29, 2019
@ashtul ashtul moved this from To do to In progress in 1.4 Jan 8, 2020
@K-Jo K-Jo moved this from In progress to Code Review in 1.4 Feb 17, 2020
@ashtul ashtul closed this as completed in 9eca788 Mar 9, 2020
1.4 automation moved this from Code Review to Done Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new feature
Projects
No open projects
1.4
  
Done
Development

No branches or pull requests

3 participants