Skip to content
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

proto: add sample rate for analyze request #236

Merged
merged 6 commits into from
Oct 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
184 changes: 109 additions & 75 deletions go-tipb/analyze.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions proto/analyze.proto
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ message AnalyzeColumnsReq {
repeated int64 primary_prefix_column_ids = 9;

repeated AnalyzeColumnGroup column_groups = 10;
// sample_rate is the sampling rate that how many samples will collected.
// There must be one non-zero value in sample_rate and sample_size.
optional double sample_rate = 11;
}

message AnalyzeMixedResp {
Expand Down