-
Notifications
You must be signed in to change notification settings - Fork 107
Integrate daterange into datasets API #3371
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
Integrate daterange into datasets API #3371
Conversation
PBENCH-1125 Remove the `GET /datasets/daterange` API in favor of a new query parameter, as `GET /datasets?daterange`. This allows getting the actual date range for any filtered selection of datasets.
webbnh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvement!!
However, I think the docs (and possibly the code) need a tweak around the behavior when both keysummary and daterange are specified. And, I have some suggestions/nits.
|
And, we need to get @npalaska to fix those flakey unit tests! 😉 |
|
The indirect cause seems to be here: Apparently, somehow, the |
webbnh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I have an awkward question (or two) which probably means that we're missing a unit test.
webbnh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but for a typo. Also, I have a couple of suggestions.
dbutenhof
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll fix the doc typo ...
webbnh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
PBENCH-1125
Remove the
GET /datasets/daterangeAPI in favor of a new query parameter, asGET /datasets?daterange. This allows getting the actual date range for any filtered selection of datasets.