-
Notifications
You must be signed in to change notification settings - Fork 915
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
[Auto Suggest] PPL autocomplete fixes #8087
[Auto Suggest] PPL autocomplete fixes #8087
Conversation
Signed-off-by: Paul Sebastian <[email protected]>
Signed-off-by: Paul Sebastian <[email protected]>
Signed-off-by: Paul Sebastian <[email protected]>
Signed-off-by: Paul Sebastian <[email protected]>
Signed-off-by: Paul Sebastian <[email protected]>
Signed-off-by: Paul Sebastian <[email protected]>
Signed-off-by: Paul Sebastian <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8087 +/- ##
==========================================
+ Coverage 60.58% 64.03% +3.44%
==========================================
Files 3738 3740 +2
Lines 88670 88570 -100
Branches 13782 13786 +4
==========================================
+ Hits 53725 56712 +2987
+ Misses 31661 31262 -399
+ Partials 3284 596 -2688
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
src/plugins/data/public/antlr/opensearch_ppl/opensearch_ppl_autocomplete.ts
Show resolved
Hide resolved
Signed-off-by: Paul Sebastian <[email protected]>
Signed-off-by: Paul Sebastian <[email protected]>
src/plugins/data/public/antlr/opensearch_ppl/opensearch_ppl_autocomplete.ts
Show resolved
Hide resolved
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.
just questions
src/plugins/data/public/antlr/opensearch_ppl/grammar/OpenSearchPPLParser.g4
Show resolved
Hide resolved
src/plugins/data/public/antlr/opensearch_ppl/opensearch_ppl_autocomplete.ts
Show resolved
Hide resolved
* add stats agg functions and insert snippet rules Signed-off-by: Paul Sebastian <[email protected]> * allow table suggestions with table name Signed-off-by: Paul Sebastian <[email protected]> * stop suggestion search from filter Signed-off-by: Paul Sebastian <[email protected]> * keep user hint height and pos constant Signed-off-by: Paul Sebastian <[email protected]> * fix issue where identifiers would suggest twice, after WS Signed-off-by: Paul Sebastian <[email protected]> * add some priority based tokens to appear at the top Signed-off-by: Paul Sebastian <[email protected]> * reenable plus and minus for sort command Signed-off-by: Paul Sebastian <[email protected]> * Changeset file for PR #8087 created/updated * update user hints Signed-off-by: Paul Sebastian <[email protected]> * update types Signed-off-by: Paul Sebastian <[email protected]> --------- Signed-off-by: Paul Sebastian <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit 8118024) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* add stats agg functions and insert snippet rules * allow table suggestions with table name * stop suggestion search from filter * keep user hint height and pos constant * fix issue where identifiers would suggest twice, after WS * add some priority based tokens to appear at the top * reenable plus and minus for sort command * Changeset file for PR #8087 created/updated * update user hints * update types --------- (cherry picked from commit 8118024) Signed-off-by: Paul Sebastian <[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>
* add stats agg functions and insert snippet rules Signed-off-by: Paul Sebastian <[email protected]> * allow table suggestions with table name Signed-off-by: Paul Sebastian <[email protected]> * stop suggestion search from filter Signed-off-by: Paul Sebastian <[email protected]> * keep user hint height and pos constant Signed-off-by: Paul Sebastian <[email protected]> * fix issue where identifiers would suggest twice, after WS Signed-off-by: Paul Sebastian <[email protected]> * add some priority based tokens to appear at the top Signed-off-by: Paul Sebastian <[email protected]> * reenable plus and minus for sort command Signed-off-by: Paul Sebastian <[email protected]> * Changeset file for PR #8087 created/updated * update user hints Signed-off-by: Paul Sebastian <[email protected]> * update types Signed-off-by: Paul Sebastian <[email protected]> --------- Signed-off-by: Paul Sebastian <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit 8118024) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* add stats agg functions and insert snippet rules * allow table suggestions with table name * stop suggestion search from filter * keep user hint height and pos constant * fix issue where identifiers would suggest twice, after WS * add some priority based tokens to appear at the top * reenable plus and minus for sort command * Changeset file for PR #8087 created/updated * update user hints * update types --------- (cherry picked from commit 8118024) Signed-off-by: Paul Sebastian <[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> Co-authored-by: Qingyang(Abby) Hu <[email protected]>
… (opensearch-project#8260)" This reverts commit d21c4d9.
Description
Fixes various issues for ppl autocomplete.
Note: Can ignore changes in the
.generated
folderIssues Resolved
Screenshot
Testing the changes
Changelog
Check List
yarn test:jest
yarn test:jest_integration