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 <[email protected]>

Working query enhance

Signed-off-by: Kawika Avilla <[email protected]>

Reget search enhance

Signed-off-by: Kawika Avilla <[email protected]>

data frames

Signed-off-by: Kawika Avilla <[email protected]>

temp state need to pass df

Signed-off-by: Kawika Avilla <[email protected]>

sending data frame

Signed-off-by: Kawika Avilla <[email protected]>

gets df type

Signed-off-by: Kawika Avilla <[email protected]>

add some small ui things

Signed-off-by: Kawika Avilla <[email protected]>

move back query language switcher

Signed-off-by: Kawika Avilla <[email protected]>

updating side panel

Signed-off-by: Kawika Avilla <[email protected]>

add ui config on query enhancement

Signed-off-by: Kawika Avilla <[email protected]>

support query string input

Signed-off-by: Kawika Avilla <[email protected]>

update to say search bar

Signed-off-by: Kawika Avilla <[email protected]>

update ppl to call once

Signed-off-by: Kawika Avilla <[email protected]>

update when fields update

Signed-off-by: Kawika Avilla <[email protected]>

add unknown

Signed-off-by: Kawika Avilla <[email protected]>
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.

Signed-off-by: Kawika Avilla <[email protected]>
Signed-off-by: Kawika Avilla <[email protected]>
Signed-off-by: Kawika Avilla <[email protected]>
@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 <[email protected]>

Working query enhance

Signed-off-by: Kawika Avilla <[email protected]>

Reget search enhance

Signed-off-by: Kawika Avilla <[email protected]>

data frames

Signed-off-by: Kawika Avilla <[email protected]>

temp state need to pass df

Signed-off-by: Kawika Avilla <[email protected]>

sending data frame

Signed-off-by: Kawika Avilla <[email protected]>

gets df type

Signed-off-by: Kawika Avilla <[email protected]>

add some small ui things

Signed-off-by: Kawika Avilla <[email protected]>

move back query language switcher

Signed-off-by: Kawika Avilla <[email protected]>

updating side panel

Signed-off-by: Kawika Avilla <[email protected]>

add ui config on query enhancement

Signed-off-by: Kawika Avilla <[email protected]>

support query string input

Signed-off-by: Kawika Avilla <[email protected]>

update to say search bar

Signed-off-by: Kawika Avilla <[email protected]>

update ppl to call once

Signed-off-by: Kawika Avilla <[email protected]>

update when fields update

Signed-off-by: Kawika Avilla <[email protected]>

add unknown

Signed-off-by: Kawika Avilla <[email protected]>

* clean up

Signed-off-by: Kawika Avilla <[email protected]>

* more clean up

Signed-off-by: Kawika Avilla <[email protected]>

* clean up licenses

Signed-off-by: Kawika Avilla <[email protected]>

---------

Signed-off-by: Kawika Avilla <[email protected]>

Cleanup unused helper function

Signed-off-by: Kawika Avilla <[email protected]>

create index pattern somewhat working

Signed-off-by: Kawika Avilla <[email protected]>
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