-
Notifications
You must be signed in to change notification settings - Fork 894
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
[Manual backport 2.x] Add support for async ppl to discover (#8706) #8769
Conversation
…ch-project#8706) Backport PR: opensearch-project#8706 From original PR: * add support for async ppl to discover Signed-off-by: Shenoy Pratik <[email protected]> * Changeset file for PR opensearch-project#8706 created/updated * update s3_type test to add PPL as supported lang Signed-off-by: Shenoy Pratik <[email protected]> * fix lint error Signed-off-by: Shenoy Pratik <[email protected]> --------- Signed-off-by: Shenoy Pratik <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
❌ Empty Changelog SectionThe Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section. |
} as IDataFrameResponse; | ||
} else { | ||
request.params = { queryId: inProgressQueryId }; | ||
const queryStatusResponse: any = await pplAsyncJobsFacet.describeQuery(context, request); |
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.
@ps48 should this have
if (!queryStatusResponse.success) handleFacetError(queryStatusResponse);
otherwise if queryStatusResponse.success
is false, then queryStatusResponse.data
is the Error object, not actual data and can't be processed?
see https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8765/files
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.
@ps48 will do a separate follow up PR
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.
follow up PR is #8771
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #8769 +/- ##
==========================================
- Coverage 60.84% 60.83% -0.01%
==========================================
Files 3797 3797
Lines 90706 90706
Branches 14269 14269
==========================================
- Hits 55187 55185 -2
- Misses 32025 32026 +1
- Partials 3494 3495 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Description
Backport PR:
#8706
From original PR:
add support for async ppl to discover
Changeset file for PR Add support for async ppl to discover #8706 created/updated
update s3_type test to add PPL as supported lang
fix lint error
Changelog
Check List
yarn test:jest
yarn test:jest_integration