Repository navigation
Minor fixes for hashed dictionary - #60310
Conversation
|
This is an automated comment for commit d62b8a5 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page Successful checks
|
| LOG_DEBUG(getLogger("HashedArrayDictionary"), | ||
| "Finished {}reading {} blocks with {} rows from pipeline in {:.2f} sec and inserted into hashtable in {:.2f} sec", | ||
| LOG_DEBUG(log, | ||
| "Finished {}reading {} blocks with {} rows to dictionary {} from pipeline in {:.2f} sec and inserted into hashtable in {:.2f} sec", |
There was a problem hiding this comment.
| "Finished {}reading {} blocks with {} rows to dictionary {} from pipeline in {:.2f} sec and inserted into hashtable in {:.2f} sec", | |
| "Finished {}reading {} blocks with {} rows to dictionary `{}` from pipeline in {:.2f} sec and inserted into hashtable in {:.2f} sec", |
There was a problem hiding this comment.
It returns name for logs from
ClickHouse/src/Interpreters/StorageID.cpp
Lines 60 to 66 in 4a7ad15
|
|
||
| HashedArrayDictionaryStorageConfiguration configuration{require_nonempty, dict_lifetime, static_cast<size_t>(shards)}; | ||
|
|
||
| if (source_ptr->hasUpdateField() && shards > 1) |
There was a problem hiding this comment.
We have the same for hashed dictionary, but it was missed for hashed_array. If we specify both update_field and SHARDS dictionary will not work properly and will return wrong results.
?
? |
|
Hi @vdimir @novikd — while reviewing this PR I found the following:
Could you review the test PR and add the |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
...
Documentation entry for user-facing changes