Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Remove Unused String Dictionary Storage Code #441

Merged
merged 6 commits into from
Apr 30, 2023

Conversation

alexbaden
Copy link
Contributor

This probably doesn't help the lazy dictionary work that much, but I kept noticing all this unused code and decided to clear it out.

A nice side effect is we no longer create dictionary files on disk during unit tests.

@alexbaden alexbaden requested a review from ienkovich April 28, 2023 14:57
Copy link
Contributor

@ienkovich ienkovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Though a couple of error messages look incomplete now.

@@ -611,8 +421,7 @@ void StringDictionary::getOrAddBulk(const std::vector<String>& input_strings,
CHECK_LT(str_count_, MAX_STRCOUNT)
<< "Maximum number (" << str_count_
<< ") of Dictionary encoded Strings reached for this column, offset path "
"for column is "
<< offsets_path_;
"for column is";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe cut at the comma?

"for column is "
<< offsets_path_;

"for column is ";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@alexbaden alexbaden merged commit b1e88e6 into main Apr 30, 2023
@alexbaden alexbaden deleted the alex/cleanup_string_dictionary branch April 30, 2023 20:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants