-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
[pivot table] Query with ROW LIMIT #13562
Comments
Hi @graceguo-supercat, can you attach a screenshot with all the control select. I assume you set filters and groud-by as well? Couple PRs touched Pivot table lately. may need some help debugging. sorry about the regression. cc @villebro |
I don't believe this is a regression - this has most likely always been the case. I agree that the proposal is the correct way to filter the data. I believe we should be able to do this by leveraging the superset/superset/connectors/sqla/models.py Lines 1177 to 1224 in 5fca19d
|
@junlincc this is controls list: |
@villebro are there any concerns of merely adding a |
Actually @villebro adding the |
How to reproduce the bug
VIEW QUERY
Actual results
Instead of filtering out the top K rows in the superset view, it filters out the top K rows in the input data; this results in the pivot table having lots of missing cells.
Expected results
Superset should generate a sub-query with limit like this:
Environment
latest master branch
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
cc @junlincc @zuzana-vej
The text was updated successfully, but these errors were encountered: