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

chore: remove SIP-38 feature flag #12894

Merged
merged 1 commit into from
Feb 3, 2021

Conversation

villebro
Copy link
Member

@villebro villebro commented Feb 2, 2021

SUMMARY

This removes the now redundant SIP-38 feature flag and associated code. The PR should not cause any functional changes, but rather just simplify code.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

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

@codecov-io
Copy link

codecov-io commented Feb 2, 2021

Codecov Report

Merging #12894 (e2b1794) into master (9cc38ac) will increase coverage by 1.60%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #12894      +/-   ##
==========================================
+ Coverage   63.21%   64.81%   +1.60%     
==========================================
  Files        1025     1024       -1     
  Lines       50291    48702    -1589     
  Branches     5241     5241              
==========================================
- Hits        31790    31566     -224     
+ Misses      18289    16924    -1365     
  Partials      212      212              
Flag Coverage Δ
javascript 61.84% <ø> (ø)
python 66.89% <100.00%> (+2.77%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
superset/config.py 90.64% <ø> (ø)
superset/common/query_object.py 91.53% <100.00%> (+1.75%) ⬆️
superset/connectors/druid/models.py 82.14% <100.00%> (-0.07%) ⬇️
superset/connectors/sqla/models.py 89.63% <100.00%> (-0.96%) ⬇️
superset/models/slice.py 85.87% <100.00%> (+0.40%) ⬆️
superset/views/utils.py 83.39% <100.00%> (+0.19%) ⬆️
superset/sql_validators/postgres.py 50.00% <0.00%> (-50.00%) ⬇️
superset/views/database/views.py 62.69% <0.00%> (-24.88%) ⬇️
superset/databases/commands/create.py 83.67% <0.00%> (-8.17%) ⬇️
superset/databases/commands/update.py 85.71% <0.00%> (-8.17%) ⬇️
... and 17 more

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 9cc38ac...e2b1794. Read the comment docs.

@villebro villebro force-pushed the villebro/remove-sip38-ff branch from 63fe77b to e2b1794 Compare February 2, 2021 17:30
@ktmud
Copy link
Member

ktmud commented Feb 2, 2021

Did we decide not to deprecate groupby anymore?

@villebro
Copy link
Member Author

villebro commented Feb 2, 2021

We will, we're just cleaning out this FF as this was mostly an experiment to make sure it works. I'd prefer to redesign this properly (the approach taken here was not optimal).

@ktmud
Copy link
Member

ktmud commented Feb 2, 2021

Yeah, I also feel the FF is a little confusing when I worked on this area. We should probably elect for bigger if branches more often other than is_ff_enabled everywhere.

@villebro villebro merged commit 2f6d1ff into apache:master Feb 3, 2021
@villebro villebro deleted the villebro/remove-sip38-ff branch February 3, 2021 07:41
amitmiran137 pushed a commit to nielsen-oss/superset that referenced this pull request Feb 3, 2021
* master: (23 commits)
  feat(explore): clear search on dataset change (apache#12909)
  chore: remove SIP-38 feature flag (apache#12894)
  fix: Config for dataset health check (apache#12906)
  fix(chart): allow null for most query object props (apache#12905)
  feat: add separate endpoint to fetch function names for autocomplete (apache#12840)
  chore: add required review on master (apache#12694)
  fix: comment typo (apache#12898)
  Migrates Radio component from Bootstrap to AntD. (apache#12738)
  fix: allow users to reset their passwords (apache#12886)
  fix(explore): missing select when groupby without metrics (apache#12890)
  refactor: dbapi exception mapping for dbapi's (apache#12869)
  feat(style-theme): add support for custom superset themes (apache#12858)
  chore(lint): fix pre-commit error (apache#12884)
  refactor(color-schemes): refactor setting of color schemes (apache#12857)
  feat(native-filters): Add defaultValue for Native filters modal (apache#12199)
  feat(release): add github token to changelog script (apache#12872)
  fix(menu): always show settings dropdown (apache#12877)
  Migrates Label component from Bootstrap to AntD. (apache#12774)
  [Helm] Automate datasource import (apache#10771)
  build: Skip loading example data from configs in CI (apache#12610)
  ...
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.2.0 labels Mar 12, 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 preset-io size/XXL 🚢 1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants