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 · 7 comments
Open

Queries with parameters aren't refreshed on schedule #4182

myonlylonely opened this issue Sep 24, 2019 · 7 comments

Comments

@myonlylonely
Copy link

@myonlylonely 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

This comment has been minimized.

Copy link
Member

@ranbena ranbena commented Sep 24, 2019

@myonlylonely can you reproduce this on the Deploy Preview?

@myonlylonely

This comment has been minimized.

Copy link
Author

@myonlylonely myonlylonely commented Sep 25, 2019

@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

This comment has been minimized.

Copy link
Member

@ranbena ranbena commented Sep 25, 2019

@arikfr is this an expected behavior or a bug?

@arikfr

This comment has been minimized.

Copy link
Member

@arikfr 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

This comment has been minimized.

Copy link
Author

@myonlylonely myonlylonely 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.

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

@arikfr

This comment has been minimized.

Copy link
Member

@arikfr arikfr commented Oct 2, 2019

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

How did you try it?

@myonlylonely

This comment has been minimized.

Copy link
Author

@myonlylonely myonlylonely commented Oct 6, 2019

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.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.