Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Auto Suggest] PPL autocomplete and interface changes (opensearch-pro…
…ject#7932) * [Autocomplete - SQL] Minor interface change to add suggestion type and move suggestion provider registration location (opensearch-project#7758) * add table/source as prefix to suggested fields Signed-off-by: Eric <[email protected]> * add type to column Signed-off-by: Eric <[email protected]> * move registeration to osd/monaco Signed-off-by: Eric <[email protected]> * add detail Signed-off-by: Eric <[email protected]> * Changeset file for PR opensearch-project#7758 created/updated --------- Signed-off-by: Eric <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> * [Autocomplete] PPL Autocomplete (opensearch-project#7810) * add initial ppl autocomplete Signed-off-by: Eric <[email protected]> * untrack .antlr files Signed-off-by: Eric <[email protected]> * ignore intermediate grammar auto-gen files Signed-off-by: Eric <[email protected]> * add rules and related functionalities Signed-off-by: Eric <[email protected]> * Changeset file for PR opensearch-project#7810 created/updated * Changeset file for PR opensearch-project#7810 created/updated * minor comment cleanning Signed-off-by: Eric <[email protected]> * add ppl generation command Signed-off-by: Eric <[email protected]> * add rules Signed-off-by: Eric <[email protected]> * correct typo Signed-off-by: Eric <[email protected]> * fix inserting text issue Signed-off-by: Eric <[email protected]> * remove colon for PPL field Signed-off-by: Eric <[email protected]> --------- Signed-off-by: Eric <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> * small interface updates Signed-off-by: Paul Sebastian <[email protected]> * small type update Signed-off-by: Paul Sebastian <[email protected]> * make inclusion for pipe, comma, and equal tokens Signed-off-by: Paul Sebastian <[email protected]> * refactor and generalize field fetcher for dql and ppl, including details Signed-off-by: Paul Sebastian <[email protected]> * use field fetching util for sql and update sugg detail for dql Signed-off-by: Paul Sebastian <[email protected]> * detail for ppl Signed-off-by: Paul Sebastian <[email protected]> * create range parameter to help identify suggestions with whitespace, implemented dql value WS suggs Signed-off-by: Paul Sebastian <[email protected]> * single line editor overflow initial override for sugg window Signed-off-by: Paul Sebastian <[email protected]> * update dql tests to account for details and value ranges Signed-off-by: Paul Sebastian <[email protected]> --------- Signed-off-by: Eric <[email protected]> Signed-off-by: Paul Sebastian <[email protected]> Co-authored-by: Eric Wei <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
- Loading branch information