Skip to content

Introduce new PPL commands, configuration and behavior changes #9790

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

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

LantaoJin
Copy link
Member

@LantaoJin LantaoJin commented Apr 30, 2025

Description

SQL Plugin: Introduce new PPL commands, configuration and behavior changes

Issues Resolved

Closes #9765

Version

3.0.0

Frontend features

If you're submitting documentation for an OpenSearch Dashboards feature, add a video that shows how a user will interact with the UI step by step. A voiceover is optional.

Checklist

  • By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
    For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Editorial review -> Merged.

Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer.

When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference). The doc reviewer will arrange for an editorial review.

Signed-off-by: Lantao Jin <[email protected]>

### Syntax

```sql

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why you specify the language as sql?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SQL and PPL share some common keywords which have as much syntax highlighting as possible. Any other suggestion?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is markdown hint, right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could remove it. in rendered md file, not much syntax highlight for PPL.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if remove it, we have to remove all 56 ```sql in this file, and more in other files.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can keep these for now.

Signed-off-by: Lantao Jin <[email protected]>
@kolchfa-aws kolchfa-aws added v3.0.0 release-notes PR: Include this PR in the automated release notes labels Apr 30, 2025

### Syntax

```sql
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is markdown hint, right?


### Syntax

```sql
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could remove it. in rendered md file, not much syntax highlight for PPL.

source = [ source = table1 | join left = l right = r [ source = table2 | where d > 10 | head 5 ] | stats count(a) by b ] as outer | head 1
```

# Examples
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we add TPC-H use case? Can you consider use cases that are familiar to OpenSearch users?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

description updated.

Signed-off-by: Lantao Jin <[email protected]>
@Naarcha-AWS Naarcha-AWS added the 3 - Tech review PR: Tech review in progress label May 1, 2025
@Naarcha-AWS
Copy link
Collaborator

@penghuo: Are there any additional technical changes that need to be made to this PR before we can move forward?

Signed-off-by: Naarcha-AWS <[email protected]>
@Naarcha-AWS
Copy link
Collaborator

@LantaoJin: I added my edits. Can you take a look at my changes and make sure I didn't miss anything?

@Naarcha-AWS Naarcha-AWS added 4 - Doc review PR: Doc review in progress and removed 3 - Tech review PR: Tech review in progress labels May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 - Doc review PR: Doc review in progress release-notes PR: Include this PR in the automated release notes v3.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DOC] Introduce new PPL commands, configuration and behavior changes
5 participants