You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "rusackas (via GitHub)" <gi...@apache.org> on 2026/08/14 05:53:11 UTC

[PR] fix(examples): migrate Life Expectancy VS Rural % example off the removed legacy bubble viz_type [superset]

rusackas opened a new pull request, #43152:
URL: https://github.com/apache/superset/pull/43152

   ## SUMMARY
   
   #41714 removed the legacy nvd3 chart pipeline and documented that saved
   nvd3 Bubble charts auto-migrate to the ECharts Bubble Chart (`bubble_v2`).
   That auto-migration runs against existing rows in an already-populated
   metadata database (`superset/migrations/shared/migrate_viz/processors.py`,
   `MigrateBubbleChart`), not against the example YAML fixtures loaded fresh
   by `superset load-examples` -- so `Life Expectancy VS Rural %` (on the
   "World Bank's Data" example dashboard) was left with `viz_type: bubble`,
   which has had zero registered plugin since #41714 landed. Every fresh
   install running `load-examples` gets a broken chart there.
   
   This migrates the chart's params to `bubble_v2`'s shape: adhoc-metric
   `x`/`y`/`size` objects instead of the legacy `sum__<column>` shorthand
   strings, dropping legacy-only fields (`compare_lag`, `compare_suffix`,
   `country_fieldtype`, `since`/`until`, etc.), matching the working
   `bubble_v2` example already in `featured_charts/charts/Bubble.yaml`.
   
   I also audited all 103 example chart YAMLs under `superset/examples/`
   for any other `viz_type` without a currently-registered plugin (checked
   against the full `VizType` enum plus deck.gl layer types) -- this was
   the only one.
   
   ### TESTING INSTRUCTIONS
   
   1. `superset load-examples` on this branch.
   2. Open the "World Bank's Data" dashboard and confirm "Life Expectancy VS
      Rural %" renders as a bubble chart instead of erroring.
   
   Also verified the new params validate against `ImportV1ChartSchema` and
   import cleanly through a full `superset db upgrade` + fresh metadata DB.
   
   ### ADDITIONAL INFORMATION
   
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(examples): migrate Life Expectancy VS Rural % example off the removed legacy bubble viz_type [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #43152:
URL: https://github.com/apache/superset/pull/43152#issuecomment-5289993381

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(examples): migrate Life Expectancy VS Rural % example off the removed legacy bubble viz_type [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe merged PR #43152:
URL: https://github.com/apache/superset/pull/43152


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(examples): migrate Life Expectancy VS Rural % example off the removed legacy bubble viz_type [superset]

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #43152:
URL: https://github.com/apache/superset/pull/43152#issuecomment-5290024583

   ## [Codecov](https://app.codecov.io/gh/apache/superset/pull/43152?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 57.30%. Comparing base ([`a188e94`](https://app.codecov.io/gh/apache/superset/commit/a188e9473abc1402ac2de3cc5933da6c4352e486?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`6a02973`](https://app.codecov.io/gh/apache/superset/commit/6a029736be6da5fe3dae3f8272a45e2e5b916bae?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   > :exclamation:  There is a different number of reports uploaded between BASE (a188e94) and HEAD (6a02973). Click for more details.
   > 
   > <details><summary>HEAD has 80 uploads less than BASE</summary>
   >
   >| Flag | BASE (a188e94) | HEAD (6a02973) |
   >|------|------|------|
   >|python|62|2|
   >|presto|11|1|
   >|hive|11|1|
   ></details>
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #43152      +/-   ##
   ==========================================
   - Coverage   66.69%   57.30%   -9.40%     
   ==========================================
     Files        2872     2872              
     Lines      163452   163452              
     Branches    37725    37725              
   ==========================================
   - Hits       109022    93661   -15361     
   - Misses      52302    68902   +16600     
   + Partials     2128      889    -1239     
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/superset/pull/43152/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [hive](https://app.codecov.io/gh/apache/superset/pull/43152/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `38.21% <ø> (ø)` | |
   | [mysql](https://app.codecov.io/gh/apache/superset/pull/43152/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
   | [postgres](https://app.codecov.io/gh/apache/superset/pull/43152/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
   | [presto](https://app.codecov.io/gh/apache/superset/pull/43152/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `40.16% <ø> (ø)` | |
   | [python](https://app.codecov.io/gh/apache/superset/pull/43152/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `40.21% <ø> (-19.13%)` | :arrow_down: |
   | [sqlite](https://app.codecov.io/gh/apache/superset/pull/43152/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
   | [unit](https://app.codecov.io/gh/apache/superset/pull/43152/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
   </details>
   
   [:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/superset/pull/43152?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org