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 Finer-grained scheduling #187

Closed
fbertsch opened this issue Aug 10, 2017 · 11 comments
Closed

Add Finer-grained scheduling #187

fbertsch opened this issue Aug 10, 2017 · 11 comments
Assignees
Labels
enhancement in review upstream PR in review in getredash/redash in review
Milestone

Comments

@fbertsch
Copy link

I just ran into a problem. I have a dataset that updates weekly, so I know at a certain time on Sundays the data will be ready. What I wanted to do was set my plots to update at that time, weekly; but all I could do was select "every 7 days", which doesn't indicate to me when that is. There could be a delay of up to 7 additional days with that option.

Instead I had to set them to update every day at XX:XX, which is not a great solution because now I'm running 7x the number of queries on the DB.

@rafrombrc rafrombrc added this to the 9 milestone Aug 10, 2017
@arikfr
Copy link

arikfr commented Aug 12, 2017

Maybe add a refresh API call to the job that updates the dataset?

Will give you the best result as it will always be in sync with the data update.

@fbertsch
Copy link
Author

@arikfr that is a good idea. We could build an Airflow operator that integrates with Re:dash, have you considered this before?

@arikfr
Copy link

arikfr commented Aug 14, 2017

I haven't but sounds like something that will be useful for many.

Let me know if you need details on the refresh API.

@alison985
Copy link

@fbertsch Based on the conversation above I'm pulling this out of the milestone 9 plan. I'm going to leave the ticket open for continued conversation.

@alison985 alison985 removed this from the 9 milestone Aug 16, 2017
@fbertsch
Copy link
Author

@arikfr mind pointing me at info on the API endpoints we would need for this task?

@arikfr
Copy link

arikfr commented Aug 24, 2017

The API call is: POST /api/queries/<query id>/refresh and currently it needs to be run with a user API key (rather than a query API key).

@rafrombrc
Copy link
Member

Upstream maintainers have been giving feedback on our proposed UI, we're currently integrating requested changes and will open a PR when the implementation is ready and tests are passing.

@emtwo
Copy link

emtwo commented Apr 9, 2018

getredash#2426

@rafrombrc rafrombrc modified the milestones: 14, 15 Jun 20, 2018
@alison985 alison985 added the in review upstream PR in review in getredash/redash label Jul 11, 2018
@rafrombrc rafrombrc modified the milestones: 15, 16 Jul 11, 2018
@rafrombrc rafrombrc modified the milestones: 16, 17 Aug 9, 2018
@emtwo
Copy link

emtwo commented Sep 18, 2018

Note: This probably needs a bit of a re-write and perhaps a change into React

@rafrombrc rafrombrc modified the milestones: 17, 18 Nov 7, 2018
@rafrombrc
Copy link
Member

This has been ported to React and is undergoing final review upstream.

@rafrombrc rafrombrc modified the milestones: 18, 19, 20 Nov 8, 2018
washort pushed a commit that referenced this issue Jan 8, 2019
* Closes #187: Add finer-grained scheduling - backend.

* Closes getredash#2396 - Add finer-grained scheduling - frontend.

* Fix linting issues

* Rename ScheduleDialgo to .jsx
@jezdez
Copy link

jezdez commented Jan 16, 2019

This is now done via getredash#2426. Awesome work @emtwo! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement in review upstream PR in review in getredash/redash in review
Projects
None yet
Development

No branches or pull requests

6 participants