-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-34351: [C++][Parquet] Statistics: add detail documentation and tin…
…y optimization (#35989) ### Rationale for this change ### What changes are included in this PR? 1. This patch does some tiny optimizations on Parquet C++ Statistics. It does: ``` For min-max, using std::string. Because assume the case like that: EncodedStatistics c1; // do some operations EncodedStatistics c2 = c1; c2.set_max("dasdasdassd"); After c2 set, c1 would be set too. So I use std::string here. ``` 2. Force clear ndv count during merging, and set `has_distinct_count_ = false`, and add some comments 3. Add some specification in Statistics API ### Are these changes tested? Yes ### Are there any user-facing changes? No * Closes: #34351 Lead-authored-by: mwish <maplewish117@gmail.com> Co-authored-by: mwish <1506118561@qq.com> Co-authored-by: Antoine Pitrou <pitrou@free.fr> Co-authored-by: Gang Wu <ustcwg@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>
- Loading branch information
1 parent
88cb517
commit 60fdc25
Showing
4 changed files
with
249 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.