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

[revert] Partial revert of #7888 #7933

Merged

Conversation

john-bodley
Copy link
Member

@john-bodley john-bodley commented Jul 26, 2019

CATEGORY

Choose one

  • Bug Fix
  • Enhancement (new features, refinement)
  • Refactor
  • Add tests
  • Build / Development Environment
  • Documentation

SUMMARY

This is a partial revert of #7888 where it was discovered that this breaks filter_values logic (which is used within custom SQL views and can reference columns not present in the UI) which simply ignores invalid filters. By raising an exception prematurely one could cause functional charts to break.

Personally I think the long term fix is to rethink the filter logic however this is non-trivial and thus in the interim reverting the logic for raising on invalid filters is being reverted.

TEST PLAN

CI.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

REVIEWERS

to: @etr2460 @michellethomas @mistercrunch
cc: @williaster

@john-bodley john-bodley force-pushed the john-bodley--partial-revert-7888 branch from 7240085 to caf7e6c Compare July 29, 2019 15:31
Copy link
Member

@etr2460 etr2460 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Maybe make a corresponding issue to re-fix this without breaking the filter box chart so we can track it?

@codecov-io
Copy link

Codecov Report

Merging #7933 into master will decrease coverage by <.01%.
The diff coverage is 32.25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7933      +/-   ##
==========================================
- Coverage   65.97%   65.97%   -0.01%     
==========================================
  Files         468      468              
  Lines       22297    22296       -1     
  Branches     2429     2429              
==========================================
- Hits        14710    14709       -1     
  Misses       7466     7466              
  Partials      121      121
Impacted Files Coverage Δ
superset/connectors/sqla/models.py 83.47% <32.25%> (-0.03%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 994ac04...caf7e6c. Read the comment docs.

@john-bodley john-bodley merged commit af462fe into apache:master Jul 29, 2019
@john-bodley john-bodley deleted the john-bodley--partial-revert-7888 branch July 29, 2019 16:19
john-bodley added a commit to john-bodley/superset that referenced this pull request Jul 29, 2019
john-bodley added a commit to airbnb/superset-fork that referenced this pull request Jul 29, 2019
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.34.0 labels Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/M 🚢 0.34.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants