Skip to content

Commit

Permalink
[Auto Suggest] PPL autocomplete fixes (opensearch-project#8087)
Browse files Browse the repository at this point in the history
* 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 opensearch-project#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>
  • Loading branch information
paulstn and opensearch-changeset-bot[bot] authored Sep 12, 2024
1 parent 9ab4377 commit 8118024
Show file tree
Hide file tree
Showing 15 changed files with 1,420 additions and 2,284 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/8087.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- PPL Autocomplete functions, fields, & table suggestion ([#8087](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8087))
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from ./src/plugins/data/public/antlr/opensearch_ppl/grammar/OpenSearchPPLLexer.g4 by ANTLR 4.13.1
// Generated from grammar/OpenSearchPPLLexer.g4 by ANTLR 4.13.1

import * as antlr from "antlr4ng";
import { Token } from "antlr4ng";
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit 8118024

Please sign in to comment.