-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Check simple dictionary key is native unsigned integer #48335
Check simple dictionary key is native unsigned integer #48335
Conversation
src/Core/Settings.h
Outdated
@@ -944,6 +944,7 @@ class IColumn; | |||
M(Bool, regexp_dict_allow_hyperscan, true, "Allow regexp_tree dictionary using Hyperscan library.", 0) \ | |||
\ | |||
M(Bool, dictionary_use_async_executor, false, "Execute a pipeline for reading from a dictionary with several threads. It's supported only by DIRECT dictionary with CLICKHOUSE source.", 0) \ | |||
M(Bool, check_sample_dict_key_is_correct, true, "Check primary key type for simple dictionary is Native unsigned integer", 0) \ |
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 think, check_dictionary_primary_key
is a better name for the setting because it's actually a primary 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.
check_dictionary_primary_key
is better, i will change it.
@CurtizJ Failed at some tests, and should I update those tests? |
Yes, please update failed tests. |
I update those failed Functional Tests: I also check those Integration Tests: |
@CurtizJ Hi, I need your help. Task UpgradeCheckMsan failed, how to deal with it?It seem like I can add config in path |
I'm not 100% sure but looks like it runs queries from the previous release on build from current release and since there were no setting the test fails. It should ok on next PRs after this one will be merged. |
Thx for you explanation : ) |
@CurtizJ, you forgot to check the failed tests before merging. I have to revert this PR because it breaks tests. |
@tavplubix Task UpgradeCheck failed, it's any idea to fix it. Those tests should set |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Check primary key type for simple dictionary is native unsigned integer type
Add setting
check_dictionary_primary_key
for compatibility(setcheck_dictionary_primary_key =false
to disable checking)close #48334