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

[Backport 2.15] Add some example results to make functionality clearer #7687

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 33ba41c from #7686.

There doesn't seem to be a detailed spec for these functions.
For example, what are the arguments of substring? First and last positions? (no) First position and length? (yes) Is position 0-origin or 1-origin? (1-origin) Does it accept counting position from the end with negative arguments? (yes)

I've added an example result which at least clarifies the first 3 questions.

Signed-off-by: Stavros Macrakis <[email protected]>
(cherry picked from commit 33ba41c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@github-actions github-actions bot merged commit 2ff98fc into 2.15 Jul 11, 2024
6 checks passed
@github-actions github-actions bot deleted the backport/backport-7686-to-2.15 branch July 11, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-automerge Added by backport workflow for automerge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants