Files
superset2/tests/unit_tests/datasets
sadpandajoe c3adea9e69 fix(datasets): drop colliding child uuid on dataset clone import
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>
2026-07-25 04:27:25 +00:00
..