-
Notifications
You must be signed in to change notification settings - Fork 734
inference params support #8252
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
inference params support #8252
Conversation
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ ⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
| static TVector<TString> GetPartitionedByConfig(std::shared_ptr<TMetadata> meta) { | ||
| TVector<TString> columns; | ||
| if (auto partitioned = meta->Attributes.FindPtr("partitionedby"); partitioned) { | ||
| NJson::TJsonValue values; |
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.
А сюда не может partitionedby не валидный долететь? Валидации случайно не позже делаются?
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.
что ты имеешь в виду под невалидным partitionedby? повторяющиеся колонки?
| CurrentSource = nullptr; | ||
| }; | ||
|
|
||
| void VisitAttribute(TString key, TString value) override { |
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.
а почему эта ветка может отработать для partitionedby? Для случая с одной колонкой?
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.
ох, жуть какая получается. Получается другие параметры могу тоже на половину работать)
ydb/core/external_sources/object_storage/inference/infer_config.cpp
Outdated
Show resolved
Hide resolved
| ui64 Size = 0; | ||
| }; | ||
|
|
||
| struct TEvInferPartitions : public NActors::TEventLocal<TEvInferPartitions, EvInferPartitions> { |
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.
А обязательно отдельный message для этого? Сам вывод можно inplace делать? Или это задел на будущее?
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.
мы для колонок используем фиксированный формат и конфиг, нам либо нужно их вместе с message-ем пробрасывать, либо сделать отдельный message для инферринга колонок
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.
А общим message не удобнее будет это сделать? Лишних сообщений не будет. Тут уже на твое усмотрение, как тебе удобнее
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ ⚪
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
| ui64 Size = 0; | ||
| }; | ||
|
|
||
| struct TEvInferPartitions : public NActors::TEventLocal<TEvInferPartitions, EvInferPartitions> { |
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.
А общим message не удобнее будет это сделать? Лишних сообщений не будет. Тут уже на твое усмотрение, как тебе удобнее
| CurrentSource = nullptr; | ||
| }; | ||
|
|
||
| void VisitAttribute(TString key, TString value) override { |
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.
ох, жуть какая получается. Получается другие параметры могу тоже на половину работать)
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ ⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ ⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ ⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ ⚪ ⚪
🟢
*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
support for
partitioned_by,file_patternandcsv_delimiterparameters with schema inferenceChangelog category