-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YQ-3836 improved metadata objects errors #12486
YQ-3836 improved metadata objects errors #12486
Conversation
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪ Test history | Ya make output | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
ydb/core/kqp/gateway/behaviour/external_data_source/manager.cpp
Outdated
Show resolved
Hide resolved
if (!AppData(actorSystem)->FeatureFlags.GetEnableExternalDataSources()) { | ||
throw std::runtime_error("External data sources are disabled. Please contact your system administrator to enable it"); | ||
} | ||
TString GetOrEmpty(const NYql::TCreateObjectSettings& container, const TString& key) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Похоже в этом ревью все намешалось:
- Рефакторинг
- Не печатать строчку кода в пользовательские ошибки
- Изменение возвращаемых статусов
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Да, рефакторинг я ещё хотел сделать, когда добавлял resource_pool, так как тогда вышло довольно много копипасты, сейчас её постарался убрать + убрал throw и большинства мест, чтобы не отловленное исключение мапилось в INTERNAL_ERROR, а в остальных местах явно бы прописывался статус ошибки
1000bdf
to
9e617a4
Compare
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪ Test history | Ya make output | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
Changelog entry
Improved metadata objects errors
Changelog category
Additional information