-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
statistics: support to store FMSketch and add FMSketch to column stats #22841
Merged
Merged
Changes from 21 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
f047988
add FMSketch to mysql.stats_histograms
Reminiscent 0b29330
statistics: support store FMSketch and add FMSketch to histogram
Reminiscent 98058de
FIX UT
Reminiscent 36b7f83
Create Stats_FM_Sketch Table
Reminiscent 1159002
Merge branch 'master' of https://github.com/pingcap/tidb into mergeNDV
Reminiscent 4adb68e
fix UT
Reminiscent cc046bc
add some tests
Reminiscent f3ee62e
FIX ut
Reminiscent 7d7af50
move fmSketch from histogram to column.stats
Reminiscent 801f213
Merge branch 'master' of https://github.com/pingcap/tidb into mergeNDV
Reminiscent 80b69f7
remove unused code and comments
Reminiscent 65a5ba9
fix ut
Reminiscent d6e648c
fix ut
Reminiscent 771930d
fix ut
Reminiscent a99bdb7
fix ut
Reminiscent 22da63c
fix ut
Reminiscent f13369b
fix ut
Reminiscent fa65821
finish the FMSketch.MemoryUsage function
Reminiscent c7eb5ba
Merge branch 'master' of https://github.com/pingcap/tidb into mergeNDV
Reminiscent 3deabd9
add some comments for FMSketch.MemoryUsage function
Reminiscent 2e5a873
fix typo
Reminiscent 94c6045
Merge branch 'master' into mergeNDV
ti-srebot 7a30a15
Merge branch 'master' into mergeNDV
ti-chi-bot f922857
Merge branch 'master' into mergeNDV
Reminiscent File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Could you tell me why add
Histogram
? For me, both of these are fine. I just want to know if there are any more considerations for this change.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.
Because there is an NDV function in FMSketch. This will cause ambiguity.