Skip to content

Commit

Permalink
proto: add sample rate for analyze request (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
winoros authored Oct 26, 2021
1 parent 186050f commit ec68283
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 75 deletions.
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

0 comments on commit ec68283

Please sign in to comment.