mirror of
https://github.com/apache/superset.git
synced 2026-07-27 17:12:36 +00:00
Address review feedback on the metric/column uuid export fix: - helpers.py: when importing a dataset config as a NEW dataset (edited dataset uuid) while the original still exists, an unchanged child uuid would be treated as new and violate the globally-unique constraint on table_columns/sql_metrics. Drop the incoming uuid for a new child whose uuid already exists so UUIDMixin assigns a fresh one, restoring the pre-change clone-via-YAML behavior. - import_test.py: give the round-trip folder leaves their semantic type and assert the full imported folder structure; add a regression test for the clone path. - commands_tests.py: reword a time-anchored comment. - UPDATING.md: note that exports now include child uuid fields and fail schema validation on older releases (mixed-version fleets). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>