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

[Backport 2.x] [Auto Suggest] Fix Grammar Changes #9313

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport d227bc5 from #9120.

* sql more field name tests

Signed-off-by: Paul Sebastian <[email protected]>

* undo search command change w/ updated logic, generalize rerun flag to work with any lang and any number of rules

Signed-off-by: Paul Sebastian <[email protected]>

* beginning of updating combined results properly

Signed-off-by: Paul Sebastian <[email protected]>

* Changeset file for PR #9120 created/updated

* cleaner non-recursive system to go through rerunWithout rule list and a general nonspecific combine function

Signed-off-by: Paul Sebastian <[email protected]>

* revert qualified name grammar

Signed-off-by: Paul Sebastian <[email protected]>

* revert from and table source grammars

Signed-off-by: Paul Sebastian <[email protected]>

* fix ppl field name issue

Signed-off-by: Paul Sebastian <[email protected]>

* remove ppl agg func snippets and update ppl field name test

Signed-off-by: Paul Sebastian <[email protected]>

* leave a space for sql agg func

Signed-off-by: Paul Sebastian <[email protected]>

* ppl autocomplete more pref. rules test

Signed-off-by: Paul Sebastian <[email protected]>

* remove backticks from ppl field name to match for value completion

Signed-off-by: Paul Sebastian <[email protected]>

* add comment explaining result combination

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 d227bc5)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

❌ Invalid Changelog Heading

The '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax.

Copy link

codecov bot commented Jan 31, 2025

Codecov Report

Attention: Patch coverage is 79.59184% with 10 lines in your changes missing coverage. Please review.

Project coverage is 61.79%. Comparing base (bc517e4) to head (ab3d467).
Report is 2 commits behind head on 2.x.

Files with missing lines Patch % Lines
src/plugins/data/public/antlr/shared/utils.ts 80.00% 1 Missing and 5 partials ⚠️
...ntlr/opensearch_ppl/opensearch_ppl_autocomplete.ts 66.66% 0 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              2.x    #9313      +/-   ##
==========================================
+ Coverage   61.77%   61.79%   +0.02%     
==========================================
  Files        3815     3815              
  Lines       91715    91843     +128     
  Branches    14513    14539      +26     
==========================================
+ Hits        56653    56754     +101     
+ Misses      31441    31438       -3     
- Partials     3621     3651      +30     
Flag Coverage Δ
Linux_1 29.00% <4.08%> (-0.06%) ⬇️
Linux_2 56.60% <ø> (ø)
Linux_3 39.21% <79.59%> (+0.08%) ⬆️
Linux_4 29.02% <4.08%> (-0.07%) ⬇️
Windows_1 29.01% <4.08%> (-0.06%) ⬇️
Windows_2 56.55% <ø> (ø)
Windows_3 39.21% <79.59%> (+0.09%) ⬆️
Windows_4 29.02% <4.08%> (-0.07%) ⬇️

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.

@sejli
Copy link
Member

sejli commented Jan 31, 2025

Cypress tests are passing, it's currently failing on artifact uploads.

@sejli sejli merged commit 46c2476 into 2.x Jan 31, 2025
69 of 73 checks passed
@github-actions github-actions bot deleted the backport/backport-9120-to-2.x branch January 31, 2025 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports failed backport failed changeset seasoned-contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants