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

Possibility to execute a query ONLY if a filter is set ? #3004

Closed
3 tasks done
DylanCa opened this issue Jun 20, 2017 · 3 comments
Closed
3 tasks done

Possibility to execute a query ONLY if a filter is set ? #3004

DylanCa opened this issue Jun 20, 2017 · 3 comments

Comments

@DylanCa
Copy link

DylanCa commented Jun 20, 2017

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if any
  • I have reproduced the issue with at least the latest released version of superset
  • I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.18.4

Expected results

I've set a filter slice in order to filter a whole dashboard at once, but I need the other slices to execute themselves only if a filter is set, because there's (700*(12*10)*20)*12 records if I just run the query without any filter.

Actual results

No filter set at first, (700*(12*10)*20)*12 records, huge loading time

@xrmx
Copy link
Contributor

xrmx commented Jun 20, 2017

You can hack something possibly by adding a flag to the slice and then sort out how to return an error if there's not filter set in the ui. Anyway 20M rows shouldn't be something that a machine can't handle.

@DylanCa
Copy link
Author

DylanCa commented Jun 20, 2017

Yes, that's the point. If I set a filter, it goes from 20M to 250 rows, which is way better. And the point is I can't even save the query in order to do anything with it, since Superset can't fetch the data from it.

@mistercrunch
Copy link
Member

Notice: this issue has been closed because it has been inactive for 306 days. Feel free to comment and request for this issue to be reopened.

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

No branches or pull requests

3 participants