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

fixed ppl polling; save dataset in saved queries #8724

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

amsiglan
Copy link
Collaborator

Description

This PR fixes two issues:

  1. Passes required params when polling for PPL results
  2. Saves dataset in saved query when query enhancements is enabled

Changelog

  • fix: Polling for PPL results; Saved dataset to saved queries

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Copy link

codecov bot commented Oct 28, 2024

Codecov Report

Attention: Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 60.74%. Comparing base (54fd87d) to head (c62ae32).
Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
...ta/public/query/saved_query/saved_query_service.ts 40.00% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8724      +/-   ##
==========================================
- Coverage   60.74%   60.74%   -0.01%     
==========================================
  Files        3798     3798              
  Lines       90662    90664       +2     
  Branches    14260    14261       +1     
==========================================
+ Hits        55072    55073       +1     
  Misses      32093    32093              
- Partials     3497     3498       +1     
Flag Coverage Δ
Linux_1 29.06% <0.00%> (-0.01%) ⬇️
Linux_2 56.39% <ø> (ø)
Linux_3 37.58% <40.00%> (+<0.01%) ⬆️
Linux_4 29.83% <0.00%> (-0.01%) ⬇️
Windows_1 29.08% <0.00%> (-0.01%) ⬇️
Windows_2 56.34% <ø> (ø)
Windows_3 37.58% <40.00%> (+<0.01%) ⬆️
Windows_4 29.83% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@virajsanghvi virajsanghvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving to unblock, but what is the plan to address patch coverage check?

@amsiglan amsiglan merged commit 48bfe2c into opensearch-project:main Oct 29, 2024
71 of 72 checks passed
@amsiglan
Copy link
Collaborator Author

Approving to unblock, but what is the plan to address patch coverage check?

Adding tests in a follow up PR

opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 29, 2024
* fixed ppl polling; save dataset in saved queries

Signed-off-by: Amardeepsingh Siglani <[email protected]>

* Changeset file for PR #8724 created/updated

---------

Signed-off-by: Amardeepsingh Siglani <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 48bfe2c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Qxisylolo pushed a commit to Qxisylolo/OpenSearch-Dashboards that referenced this pull request Oct 30, 2024
…8724)

* fixed ppl polling; save dataset in saved queries

Signed-off-by: Amardeepsingh Siglani <[email protected]>

* Changeset file for PR opensearch-project#8724 created/updated

---------

Signed-off-by: Amardeepsingh Siglani <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
@ananzh ananzh added v2.18.0 and removed v2.19.0 labels Oct 30, 2024
ananzh pushed a commit that referenced this pull request Oct 30, 2024
* fixed ppl polling; save dataset in saved queries



* Changeset file for PR #8724 created/updated

---------



(cherry picked from commit 48bfe2c)

Signed-off-by: Amardeepsingh Siglani <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants