How do I disable the "metadata has been synced" error when saving datasets in version 5? This breaks the visualization because if there is no data at the moment, the columns are deleted.
Comment From: dosubot[bot]
There isn't a configuration option or feature flag in Superset v5 to disable the "metadata has been synced" error or prevent column deletion when saving datasets. This happens because Superset syncs dataset columns with the underlying database schema, and if the source table is empty or unavailable, it interprets this as having no columns and deletes them from the dataset metadata, which breaks visualizations. The only way to avoid this is to not trigger a metadata sync when the table is empty, or to modify the backend code to skip column deletions if no columns are found. This limitation was addressed in later versions, where the column syncing logic and error handling were improved, but in v5 there is no user-accessible workaround or toggle for this behavior.
Reference: PR #33523
Reference: Dataset API code
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
Comment From: crazychaz
В Superset v5 нет параметра конфигурации или флага функции, позволяющего отключить ошибку «метаданные синхронизированы» или предотвратить удаление столбцов при сохранении наборов данных. Это происходит потому, что Superset синхронизирует столбцы набора данных с базовой схемой базы данных, и если исходная таблица пуста или недоступна, Superset интерпретирует это как отсутствие столбцов и удаляет их из метаданных набора данных, что нарушает визуализацию. Единственный способ избежать этого — не запускать синхронизацию метаданных, когда таблица пуста, или изменить код бэкэнда так, чтобы пропускать удаление столбцов, если столбцы не найдены. Это ограничение было устранено в более поздних версиях, где были улучшены логика синхронизации столбцов и обработка ошибок, но в v5 нет доступного пользователю обходного пути или переключателя для этого поведения. Ссылка: PR #33523 Ссылка: Код API набора данных
Чтобы ответить, просто упомяните @dosu .
Как я справился? Хорошо | Неактуально | Неверно | Многословно | Галлюцинация | Сообщить 🐛 | Другое
![]()
![]()
In which later versions if the current version is 5.0.0???
Comment From: dosubot[bot]
На июль 2025 года Superset 5.0.0 — последняя стабильная версия, и более новых релизов (например, 6.0.0) пока нет — см. подтверждение здесь. Исправление, описанное в PR #33523, не вошло ни в одну официальную версию после 5.0.0, так как таких релизов ещё не существует. Если нужен этот фикс, придётся ждать будущего релиза или собирать Superset из исходников с нужными изменениями.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
Comment From: rusackas
I think 6.0 has a "do you want to sync" feature that might resolve some of this. Can you test in 6.0.0rc2 and/or on the latest master
and see if the experience is any smoother?
@mistercrunch - would it be possible to add a feature to showtime
that lets us spin up a particular SHA (or, in cases like this, default to master
) from GH Issues? Would be super handy for reproducing issues on various versions from now and from the past.