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

[MQL] support different query languages #6595

Merged
merged 4 commits into from
Apr 22, 2024

Conversation

kavilla
Copy link
Member

@kavilla kavilla commented Apr 22, 2024

Description

Only adds the quick startup for OpenSearch cluster with a SQL plugin and observability with:

yarn opensearch snapshot --sql

Also, adds SQL to the language selector stolen shamelessly from #5623

If a language selected is not native to core OSD it will utilize data frames.

Issues Resolved

Screenshot

Testing the changes

Changelog

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Only adds the quick startup for OpenSearch cluster with a SQL
plugin and observability with:
```
yarn opensearch snapshot --sql
```

Also, adds SQL to the language selector stolen shamelessly from
opensearch-project#5623

Next steps to intercept and send to SQL API or just transform basic
syntax to DSL

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

Working query enhance

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

Reget search enhance

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

data frames

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

temp state need to pass df

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

sending data frame

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

gets df type

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

add some small ui things

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

move back query language switcher

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

updating side panel

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

add ui config on query enhancement

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

support query string input

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

update to say search bar

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

update ppl to call once

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

update when fields update

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

add unknown

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Copy link
Contributor

ℹ️ Manual Changeset Creation Reminder

Please ensure manual commit for changeset file 6595.yml under folder changelogs/fragments to complete this PR.

If you want to use the available OpenSearch Changeset Bot App to avoid manual creation of changeset file you can install it in your forked repository following this link.

For more information about formatting of changeset files, please visit OpenSearch Auto Changeset and Release Notes Tool.

Copy link
Contributor

❌ Changeset File Not Added Yet

Please ensure manual commit for changeset file 6595.yml under folder changelogs/fragments to complete this PR. File still missing.

kavilla added 3 commits April 22, 2024 20:07
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
@ananzh ananzh merged commit 8047e28 into opensearch-project:feature/data-explorer Apr 22, 2024
5 of 53 checks passed
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this pull request Apr 23, 2024
* [MQL] support different query languages

Only adds the quick startup for OpenSearch cluster with a SQL
plugin and observability with:
```
yarn opensearch snapshot --sql
```

Also, adds SQL to the language selector stolen shamelessly from
opensearch-project#5623

Next steps to intercept and send to SQL API or just transform basic
syntax to DSL

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

Working query enhance

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

Reget search enhance

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

data frames

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

temp state need to pass df

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

sending data frame

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

gets df type

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

add some small ui things

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

move back query language switcher

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

updating side panel

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

add ui config on query enhancement

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

support query string input

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

update to say search bar

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

update ppl to call once

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

update when fields update

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

add unknown

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

* clean up

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

* more clean up

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

* clean up licenses

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

---------

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

Cleanup unused helper function

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

create index pattern somewhat working

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants