-
Notifications
You must be signed in to change notification settings - Fork 694
Added Query Hints for the Optimizer #7629
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
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 |
⚪ ⚪ 🟡
*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 |
e82fffc
to
aadabf7
Compare
⚪ ⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
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.
@zverevgeny Можешь посмотреть, нормальное изменение?
Changed email
4da8869
⚪
🟢
*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 |
@@ -40,6 +40,17 @@ using namespace NKikimr::NMiniKQL; | |||
|
|||
using namespace Yql::DqsProto; | |||
|
|||
namespace { | |||
TString RemoveAliases(TString attributeName) { | |||
for (size_t i = attributeName.size() - 1; i>0; i--) { |
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.
nit: .rfind('.')
?
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.
А-а, find_last_of тут подошел бы, но кажется он у меня не сработал почему-то
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.
size_t -> int
Changelog entry
Query Hints for Cardinality and Join algorithms are added to the Cost Based Optimizer
Changelog category
Additional information
Here is an example of how the new hints can be used in queries: