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

Queries with parameters aren't refreshed on schedule #4182

Open
myonlylonely opened this issue Sep 24, 2019 · 8 comments
Open

Queries with parameters aren't refreshed on schedule #4182

myonlylonely opened this issue Sep 24, 2019 · 8 comments

Comments

@myonlylonely
Copy link
Contributor

myonlylonely commented Sep 24, 2019

Steps to Reproduce

When a query with a query based dropdown list parameter, scheduling query does not work.

Technical details:

  • Redash Version: 8.0 beta 2
  • Browser/OS: Cent OS 7
  • How did you install Redash: Docker
@ranbena
Copy link
Contributor

ranbena commented Sep 24, 2019

@myonlylonely can you reproduce this on the Deploy Preview?

@myonlylonely
Copy link
Contributor Author

@myonlylonely can you reproduce this on the Deploy Preview?

Yes. I created 2 queries.

  1. Select AlbumTitles
  2. Search Album (which has a drop list parameter based on AlbumTitles query)

I schedule both queries at 1 minute. Query 1 works, and query 2 does not schedule as I expected.

image

@ranbena
Copy link
Contributor

ranbena commented Sep 25, 2019

@arikfr is this an expected behavior or a bug?

@arikfr
Copy link
Member

arikfr commented Sep 25, 2019

Thank you for creating the example queries, @myonlylonely. See my comment here: https://discuss.redash.io/t/queries-with-parameters-not-updating/3737/14?u=arikfr.

I will update the issue title to better reflect the actual bug. #1909 is a possible fix for this, at least until we revise how the scheduler works.

@arikfr arikfr changed the title Queries with Query based dropdown list not auto refreshing Queries with parameters aren't refreshed on schedule Sep 25, 2019
@myonlylonely
Copy link
Contributor Author

Thank you for creating the example queries, @myonlylonely. See my comment here: https://discuss.redash.io/t/queries-with-parameters-not-updating/3737/14?u=arikfr.

I will update the issue title to better reflect the actual bug. #1909 is a possible fix for this, at least until we revise how the scheduler works.

I tried the #1909 fix, and it didn't work in this case.

@arikfr
Copy link
Member

arikfr commented Oct 2, 2019

I tried the #1909 fix, and it didn't work in this case.

How did you try it?

@myonlylonely
Copy link
Contributor Author

I tried the #1909 fix, and it didn't work in this case.

How did you try it?

I edited the python file that mentioned in #1909 in the docker image, and the queries with parameters still didn't refresh on schedule as expected.

susodapop added a commit to getredash/website that referenced this issue Apr 24, 2020
arikfr pushed a commit to getredash/website that referenced this issue Apr 28, 2020
* Updates doc to reflect getredash/redash#4182

* Revises grammar.

* Implements Arik's feedback from #245

* Optimised images with calibre/image-actions

* Adds note about scheduled query failure reports.

Closes #372

* Adds screenshot of failure report email.

Taken from getredash/redash#3798

* Optimised images with calibre/image-actions

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@jotolo
Copy link

jotolo commented Apr 12, 2023

This problem persists in redash:10.1.0.b50633 still

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants