crazychaz commented on issue #35286: URL: https://github.com/apache/superset/issues/35286#issuecomment-3332752830
> В Superset v5 нет параметра конфигурации или флага функции, позволяющего отключить ошибку «метаданные синхронизированы» или предотвратить удаление столбцов при сохранении наборов данных. Это происходит потому, что Superset синхронизирует столбцы набора данных с базовой схемой базы данных, и если исходная таблица пуста или недоступна, Superset интерпретирует это как отсутствие столбцов и удаляет их из метаданных набора данных, что нарушает визуализацию. Единственный способ избежать этого — не запускать синхронизацию метаданных, когда таблица п уста, или изменить код бэкэнда так, чтобы пропускать удаление столбцов, если столбцы не найдены. Это ограничение было устранено в более поздних версиях, где были улучшены логика синхронизации столбцов и обработка ошибок, но в v5 нет доступного пользователю обходного пути или переключателя для этого поведения. [Ссылка: PR #33523 ](https://github.com/apache/superset/pull/33523) [Ссылка: Код API набора данных](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/datasets/api.py) > > _Чтобы ответить, просто упомяните [@dosu](https://go.dosu.dev/dosubot) ._ > > Как я справился? [Хорошо](https://app.dosu.dev/response-feedback/67c31b91-ebab-4eeb-b7e7-85b59ee62e91?feedback_type=great_response) | [Неактуально](https://app.dosu.dev/response-feedback/67c31b91-ebab-4eeb-b7e7-85b59ee62e91?feedback_type=irrelevant_answer) | [Неверно](https://app.dosu.dev/response-feedback/67c31b91-ebab-4eeb-b7e7-85b59ee62e91?feedback_type=incorrect_sources) | [Многословно](https://app.dosu.dev/response-feedback/67c31b91-ebab-4eeb-b7e7-85b59ee62e91?feedback_type=too_verbose) | [Галлюцинация](https://app.dosu.dev/response-feedback/67c31b91-ebab-4eeb-b7e7-85b59ee62e91?feedback_type=hallucination) | [Сообщить 🐛](https://app.dosu.dev/response-feedback/67c31b91-ebab-4eeb-b7e7-85b59ee62e91?feedback_type=bug_report) | [Другое](https://app.dosu.dev/response-feedback/67c31b91-ebab-4eeb-b7e7-85b59ee62e91?feedback_type=other) [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35286) In which later versions if the current version is 5.0.0??? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org