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

[DOC] Ensure PPL docs have consistent look #926

Merged
merged 5 commits into from
Nov 19, 2024

Conversation

LantaoJin
Copy link
Member

@LantaoJin LantaoJin commented Nov 18, 2024

Description

Main updates:
Renamed functions/ppl-lambda.md -> functions/ppl-collection.md
Move lambda functions to functions/ppl-json.md
Refactor ppl-join-command.md, ppl-lookup-command.md, ppl-subquery-command.md

Related Issues

Resolves #925

Check List

  • Updated documentation (docs/ppl-lang/README.md)
  • Implemented unit tests
  • Implemented tests for combination with other commands
  • New added source code should include a copyright header
  • Commits are signed per the DCO using --signoff

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

Signed-off-by: Lantao Jin <[email protected]>
@@ -1,6 +1,6 @@
# PPL dedup command
## PPL dedup command
Copy link

Choose a reason for hiding this comment

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

We are inconsistently using back ticks for commands. Let's use a back tick dedup

@@ -1,4 +1,4 @@
## PPL Correlation Command
## PPL Grok Command
Copy link

Choose a reason for hiding this comment

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

should be lower case and include back ticks grok

@@ -1,10 +1,115 @@
## PPL Join Command
Copy link

Choose a reason for hiding this comment

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

Missing back ticks and lowercase join

@@ -1,20 +1,18 @@
## PPL Lookup Command
Copy link

Choose a reason for hiding this comment

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

lookup as lowercase

@@ -1,11 +1,11 @@
## PPL rare Command
Copy link

Choose a reason for hiding this comment

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

Missing back ticks rare

@@ -1,6 +1,6 @@
## PPL top Command
Copy link

Choose a reason for hiding this comment

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

missing back ticks top

@@ -1,6 +1,6 @@
## PPL trendline Command
Copy link

Choose a reason for hiding this comment

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

missing back ticks trendline

Copy link

@brijos brijos left a comment

Choose a reason for hiding this comment

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

Left comments around using capitalization and back ticks.

Signed-off-by: Lantao Jin <[email protected]>
@LantaoJin
Copy link
Member Author

Left comments around using capitalization and back ticks.

Done. Thanks @brijos

@YANG-DB
Copy link
Member

YANG-DB commented Nov 18, 2024

@LantaoJin can u plz use this pr to also fix the hyper-link issue here ?
thanks !

@YANG-DB YANG-DB added documentation Improvements or additions to documentation Lang:PPL Pipe Processing Language support labels Nov 18, 2024
Signed-off-by: Lantao Jin <[email protected]>
@LantaoJin LantaoJin merged commit 7b6e485 into opensearch-project:main Nov 19, 2024
4 checks passed
kenrickyap pushed a commit to Bit-Quill/opensearch-spark that referenced this pull request Dec 11, 2024
* refactor ppl docs to keep consistent look

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

* remove auto generated file

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

* minor updates

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

* address comments

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

* fix hyper-link issue

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

---------

Signed-off-by: Lantao Jin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.7 documentation Improvements or additions to documentation Lang:PPL Pipe Processing Language support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DOC] Ensure ppl documentations have consistent look
3 participants