Skip to content
Open
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
197 changes: 114 additions & 83 deletions go-tipb/analyze.pb.go

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

8 changes: 7 additions & 1 deletion proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,12 @@
"name": "sample_rate",
"type": "double",
"optional": true
},
{
"id": 12,
"name": "ndv_rate",
"type": "double",
"optional": true
}
]
},
Expand Down Expand Up @@ -8351,4 +8357,4 @@
}
}
]
}
}
3 changes: 3 additions & 0 deletions proto/analyze.proto
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ message AnalyzeColumnsReq {
// 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;

// ndv_rate is the sampling rate that determines how many samples will be used to calculate the NDV.
optional double ndv_rate = 12;
}

message AnalyzeMixedResp {
Expand Down
6 changes: 6 additions & 0 deletions scripts/proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,12 @@
"name": "sample_rate",
"type": "double",
"optional": true
},
{
"id": 12,
"name": "ndv_rate",
"type": "double",
"optional": true
}
]
},
Expand Down
Loading