-
Notifications
You must be signed in to change notification settings - Fork 282
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
perf: Predict hash table size for aggregation #253
Conversation
auto & tbl = expr.database_and_table_name->as<DB::ASTTableIdentifier &>(); | ||
auto db_name = tbl.name_parts.size() == 2 ? tbl.name_parts[0] : ""; | ||
auto tb_name = tbl.name_parts.size() == 2 ? tbl.name_parts[1] : tbl.name_parts[0]; | ||
/// Table name in worker has name like t_441011350722576384 with last 18 characters |
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.
Maybe we can use table uuid in future.
} | ||
} | ||
} | ||
hash.update(tables->getTreeHash()); |
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.
how the table renaming is updated?
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.
I forgot to push a commit. Just push it now.
Changelog category :
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Documentation entry for user-facing changes