Workload updates to test and support OpenSearch Approximation Framework#655
Workload updates to test and support OpenSearch Approximation Framework#655prudhvigodithi wants to merge 7 commits intoopensearch-project:mainfrom
Conversation
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
|
Not able to reproduce the lint failures on my local, @IanHoang @gkamat anything I'm missing? |
|
@prudhvigodithi Have you tried running them individually? The errors show up for me when I run it I'm pretty sure all the workloads do not adhere to lint standards but we should start following the ones where severity == HIGH. I'll update the workflow to ignore low severity lint issues |
|
Thanks @IanHoang now I was able to see, but looks like the errors are not related to my changed? can you confirm ? |
Can the low priority issues be turned into warnings? |
ee0d8a5 to
5a56cbb
Compare
|
Yes I can confirm the lint test failures are not related to the PR changes. For most of the existing workloads the formatting is not properly done. I have fixed with this PR, please take a look. |
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
IanHoang
left a comment
There was a problem hiding this comment.
@prudhvigodithi Seeing the changes to default values in pre-existing operations, it might be better to split up the actions in this PR into two separate PRs (will help with roll-backs if needed in the future).
First PR focuses on adding new operations to workloads while second PR focuses on proposing modifications to existing default values. See comment regarding changing pre-existing default values in range operation in http_logs.
| "warmup-iterations": {{ range_warmup_iterations or warmup_iterations | default(100) | tojson }}, | ||
| "iterations": {{ range_iterations or iterations | default(100) | tojson }}, | ||
| "target-throughput": {{ range_target_throughput or target_throughput | default(1) | tojson }}, | ||
| "target-throughput": {{ range_target_throughput or target_throughput | default(2) | tojson }}, |
There was a problem hiding this comment.
@prudhvigodithi was this arbitrarily changed? Seems like it was done to match the range operations added below.
@OVI3D0 brought up a good point offline: if this isn't backported to previous PRs, there will be a discrepancy when comparing range operations across OpenSearch versions. We should also be careful about making changes to default values in pre-existing operations for legacy workloads.
| "warmup-iterations": {{ desc_sort_size_warmup_iterations or warmup_iterations | default(200) | tojson }}, | ||
| "iterations": {{ desc_sort_size_iterations or iterations | default(100) | tojson }}, | ||
| "target-throughput": {{ desc_sort_size_target_throughput or target_throughput | default(0.5) | tojson }}, | ||
| "target-throughput": {{ desc_sort_size_target_throughput or target_throughput | default(2) | tojson }}, |
There was a problem hiding this comment.
See comment above for range
| "warmup-iterations": {{ asc_sort_tip_amount_warmup_iterations or warmup_iterations | default(50) | tojson }}, | ||
| "iterations": {{ asc_sort_tip_amount_iterations or iterations | default(100) | tojson }}, | ||
| "target-throughput": {{ asc_sort_tip_amount_target_throughput or target_throughput | default(0.5) | tojson }}, | ||
| "target-throughput": {{ asc_sort_tip_amount_target_throughput or target_throughput | default(2) | tojson }}, |
There was a problem hiding this comment.
See comment above for range in http_logs
|
I assume the lint errors are fixed with this PR #662. Let me close this and open 2 PR's
|
Description
Issues Resolved
ApproximatePointRangeQueryTraversal for Skewed Datasets with DFS Strategy OpenSearch#18341 once the Approximation is fixed for http_logs dataset, these new added queries will help test the regression and improvement.Testing
[Describe how this change was tested]
Backport to Branches:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.