Skip to content

Preventing bad json from creating problems - #8

Merged
mistercrunch merged 1 commit into
masterfrom
bad_json
Jul 28, 2015
Merged

mistercrunch merged 1 commit into
masterfrom
bad_json

Conversation

@mistercrunch

Copy link
Copy Markdown
Member

Also, creating metrics on save events of columns

mistercrunch added a commit that referenced this pull request Jul 28, 2015
Preventing bad json from creating problems
@mistercrunch
mistercrunch merged commit fe22f4a into master Jul 28, 2015
@mistercrunch
mistercrunch deleted the bad_json branch July 28, 2015 23:07
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request Feb 7, 2018
Cherry pick CSV hotfix and dashboard view
mistercrunch referenced this pull request in mistercrunch/superset Aug 14, 2018
NOT PASSING TESTS
graceguo-supercat pushed a commit to graceguo-supercat/superset that referenced this pull request Oct 4, 2021
zhaoyongjie pushed a commit that referenced this pull request Nov 24, 2021
* fix(legacy-preset-chart-nvd3): redraw bar values after legend change

* fix(legacy-preset-chart-nvd3): show labels on negative bars

* fix(legacy-preset-chart-nvd3): fix lint

* fix(legacy-preset-chart-nvd3): improve remove
zhaoyongjie pushed a commit that referenced this pull request Nov 25, 2021
* fix(legacy-preset-chart-nvd3): redraw bar values after legend change

* fix(legacy-preset-chart-nvd3): show labels on negative bars

* fix(legacy-preset-chart-nvd3): fix lint

* fix(legacy-preset-chart-nvd3): improve remove
zhaoyongjie pushed a commit that referenced this pull request Nov 26, 2021
* fix(legacy-preset-chart-nvd3): redraw bar values after legend change

* fix(legacy-preset-chart-nvd3): show labels on negative bars

* fix(legacy-preset-chart-nvd3): fix lint

* fix(legacy-preset-chart-nvd3): improve remove
zhaoyongjie pushed a commit that referenced this pull request Nov 30, 2021
* build: migrate to nimbus

* fix: eslint-disable statements

* fix: conflict

* fix: lint

* fix: lints

* fix: bump packages
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.2.0 First shipped in 0.2.0 labels Feb 19, 2024
jkhljhh added a commit to jkhljhh/superset that referenced this pull request Feb 12, 2026
mikebridge pushed a commit to mikebridge/superset that referenced this pull request Apr 14, 2026
Add __versioned__ to TableColumn and SqlMetric so Continuum tracks
column and metric changes in shadow tables. Update VersionDAO restore
to query child versions at the target transaction using Continuum's
validity range (transaction_id <= target AND end_transaction_id > target
OR NULL) and recreate children from version data.

New migration adds table_columns_version and sql_metrics_version tables.

Note: pre-existing children without version rows are left unchanged
on restore (same baseline gap as open question apache#8 — task 09 will
address this).

Part of sc-103156 (Entity Version History), task 10.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
mikebridge pushed a commit to mikebridge/superset that referenced this pull request Apr 15, 2026
Add __versioned__ to TableColumn and SqlMetric so Continuum tracks
column and metric changes in shadow tables. Update VersionDAO restore
to query child versions at the target transaction using Continuum's
validity range (transaction_id <= target AND end_transaction_id > target
OR NULL) and recreate children from version data.

New migration adds table_columns_version and sql_metrics_version tables.

Note: pre-existing children without version rows are left unchanged
on restore (same baseline gap as open question apache#8 — task 09 will
address this).

Part of sc-103156 (Entity Version History), task 10.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
mikebridge pushed a commit to mikebridge/superset that referenced this pull request May 7, 2026
…ks, embedded, reattach)

Three integration tests pinning down behaviour described in
specs/sc-103157-soft-deletes/pr-readiness.md:

  test_delete_chart_blocked_when_active_report_references_it
    Pins down the existing API protection: DeleteChartCommand.validate()
    raises ChartDeleteFailedReportsExistError (HTTP 422) before any
    soft-delete routing happens. This is what makes the
    "report-execution against soft-deleted target" crash class
    (commands/report/execute.py:_get_url, addressed in commit
    e8156de's null-guard) unreachable through the API.

  test_embedded_dashboard_with_soft_deleted_parent
    Pins down that the embedded view never dereferences the
    embedded.dashboard relationship — it only reads the FK column and
    allow_domain_list — so soft-deleting the parent dashboard leaves
    the iframe URL returning 200 (rather than 500 from a None deref).
    The frontend's subsequent /api/v1/dashboard/<id> fetch returns 404
    cleanly via the visibility filter; the user sees the standard
    "dashboard not found" UI.

  test_restore_chart_reattaches_to_dashboards
    Positive test for the corrected commit
    "feat(soft-delete): preserve dashboard_slices on chart soft-delete
    (MissingChart handles UI)". Confirms the SIP's no-cascade contract
    end-to-end: junction rows are preserved on chart soft-delete, the
    relationship-load filter hides the chart from dashboard.slices
    while soft-deleted, and on restore the chart automatically
    reappears in every dashboard it was a member of — no manual
    re-attachment needed.

All three tests are scoped to the existing TestChart/TestDashboard
soft-delete suites and use the established _hard_delete_* cleanup
pattern.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
qfcwell pushed a commit to qfcwell/superset that referenced this pull request May 12, 2026
Preventing bad json from creating problems
rusackas pushed a commit to rusackas/superset that referenced this pull request Jun 24, 2026
Reproduced apache#37627 on the running stack: the table fix (retaining the
contribution post-processing on the show_totals query) adds the percent column
to the summary row; the body column is unchanged with/without the fix (even
under pagination). The literal "all zeros" symptom does not reproduce on current
master in standard configs.

- integration regression test (verified against DB + Redis)
- SIP.md coverage matrix updated (apache#6/apache#7 DB-verified; apache#8/apache#9 clarified)
- UPDATING.md: document removal of the pivot "Aggregation function" control

Refs apache#37627, apache#34350, apache#25747, apache#29297

Co-Authored-By: Claude Fable 5 <[email protected]>
rusackas pushed a commit to rusackas/superset that referenced this pull request Jun 24, 2026
Data-layer verification on the running stack confirms the multi-query rollup
computes multi-row-dim ratio subtotals (0.1128 vs naive 1.0000) and AVG grand
totals (1065.91 vs mean-of-means 964.27) correctly. All reported correctness
scenarios (#1-apache#7) are now DB-verified; apache#8/apache#9 are documented decisions.

Refs apache#25747, apache#32260, apache#29297

Co-Authored-By: Claude Fable 5 <[email protected]>
devin-ai-integration Bot referenced this pull request in Hunter-1298/superset Sep 8, 2026
…ning-loop #8)

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration Bot referenced this pull request in Hunter-1298/superset Sep 8, 2026
…on hardening-loop #8)

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration Bot referenced this pull request in Hunter-1298/superset Sep 8, 2026
…ation fixes on hardening-loop #8)

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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 🚢 0.2.0 First shipped in 0.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant