Bug description

Hi Team,

When I download Superset assets and restore them in other environments via automation, I notice that Superset adds numbering at the end of each asset. So, when I try to modify any dashboard asset by downloading it from a lower environment and restoring it to a higher environment, instead of overwriting, it creates duplicate assets. Is there any way to disable this behavior?

Screenshots/recordings

No response

Superset version

4.1.3

Python version

3.10

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
  • [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
  • [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Comment From: dosubot[bot]

Superset does not add numbering to asset names during import/restore by default. Instead, deduplication is handled by matching asset UUIDs, and the key to overwriting existing assets is using the overwrite=True flag during import. If you see numbering or duplicate assets, it's likely due to external automation, UI workflows, or legacy importers—not the backend import logic. To avoid duplication, make sure you use the v1 import workflow, keep asset UUIDs intact, and set overwrite=True when importing. There is no built-in configuration to disable numbering because this behavior isn't part of the core import process.
For more details, see the discussion and code references here.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X