Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(chart-data-api): ignore missing filters #11112

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

villebro
Copy link
Member

SUMMARY

#10451 introduced a regression where filters referencing columns that aren't present in a datasource returned a 400. Since the SQLA model ignores missing filters, this assertion is unnecessary, and will cause trouble if a dashboard emits filters that reference columns that are not present in a chart's datasource.

TEST PLAN

CI + new test

ADDITIONAL INFORMATION

@villebro villebro requested a review from dpgaspar September 30, 2020 08:15
@villebro villebro added the v0.38 label Sep 30, 2020
@villebro villebro changed the title fix(chart-data-api): ingore missing filters fix(chart-data-api): ignore missing filters Sep 30, 2020
@dpgaspar dpgaspar merged commit ada66e3 into apache:master Sep 30, 2020
@dpgaspar dpgaspar deleted the villebro/ignore-missing-filter branch September 30, 2020 08:34
auxten pushed a commit to auxten/incubator-superset that referenced this pull request Nov 20, 2020
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.38.0 labels Mar 12, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/M v0.38 🚢 0.38.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem with assert referenced columns are present in datasource
3 participants