-
Notifications
You must be signed in to change notification settings - Fork 3k
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
enhance: add search params in search request in restful #36304
Conversation
@smellthemoon Please associate the related issue to the body of your Pull Request. (eg. “issue: #”) |
@smellthemoon E2e jenkins job failed, comment |
MetricType string `json:"metricType"` | ||
Params map[string]interface{} `json:"params"` | ||
IgnoreGrowing bool `json:"ignore_growing"` | ||
PageRetainOrder bool `json:"page_retain_order"` |
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.
this should be in SearchParams->Params
, not outside.
41d8474
to
66b8649
Compare
related with #36321 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #36304 +/- ##
===========================================
- Coverage 82.36% 69.67% -12.69%
===========================================
Files 1276 277 -999
Lines 150677 22966 -127711
===========================================
- Hits 124105 16002 -108103
+ Misses 21603 6964 -14639
+ Partials 4969 0 -4969 |
OutputFields: httpReq.OutputFields, | ||
PartitionNames: httpReq.PartitionNames, | ||
} | ||
if httpReq.ConsistencyLevel != "" { |
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.
Is it possible to extract this and reuse at below line 997
@smellthemoon E2e jenkins job failed, comment |
66b8649
to
ea06a53
Compare
@smellthemoon E2e jenkins job failed, comment |
ea06a53
to
2e8325b
Compare
@smellthemoon E2e jenkins job failed, comment |
2e8325b
to
18ef48d
Compare
@smellthemoon E2e jenkins job failed, comment |
18ef48d
to
4430cd6
Compare
@smellthemoon E2e jenkins job failed, comment |
@smellthemoon go-sdk check failed, comment |
/run-cpu-e2e |
rerun go-sdk |
@smellthemoon E2e jenkins job failed, comment |
@smellthemoon go-sdk check failed, comment |
@smellthemoon E2e jenkins job failed, comment |
Signed-off-by: lixinguo <[email protected]>
4430cd6
to
1e617c8
Compare
/lgtm |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: congqixia, smellthemoon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@zhuwenxing could you help to update the related tests in restful? |
// not use metricType any more, just for compatibility | ||
MetricType string `json:"metricType"` | ||
Params map[string]interface{} `json:"params"` | ||
IgnoreGrowing bool `json:"ignore_growing"` |
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.
Do we need to maintain consistency in naming conventions around here?
metric_type --> metricType
so ignore_growing --> ignoreGrowing?
Signed-off-by: lixinguo <[email protected]>
Signed-off-by: lixinguo <[email protected]>
Signed-off-by: lixinguo <[email protected]>
Signed-off-by: lixinguo <[email protected]>
pr: #36304 pr: #36714 pr: #36448 --------- Signed-off-by: lixinguo <[email protected]> Co-authored-by: lixinguo <[email protected]> Co-authored-by: zhuwenxing <[email protected]>
#36321