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

fix: trim index name in parameters for PPL tool #185

Merged

Conversation

yuye-aws
Copy link
Member

@yuye-aws yuye-aws commented Feb 6, 2024

Description

Bug fix: trim index name in parameters for PPL tool

Issues Resolved

Sometimes the input index name contains heading or tailing spaces (like opensearch_dashboards_sample_data_logs). We fix this bug by trimming index name in parameters for PPL tool.

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • 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.

Copy link

codecov bot commented Feb 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c2a1fed) 81.76% compared to head (b00f520) 81.76%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #185   +/-   ##
=========================================
  Coverage     81.76%   81.76%           
  Complexity      201      201           
=========================================
  Files            13       13           
  Lines          1042     1042           
  Branches        139      139           
=========================================
  Hits            852      852           
  Misses          136      136           
  Partials         54       54           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zane-neo zane-neo merged commit df90be3 into opensearch-project:main Feb 6, 2024
16 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 6, 2024
Signed-off-by: yuye-aws <[email protected]>
(cherry picked from commit df90be3)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
zane-neo pushed a commit that referenced this pull request Feb 6, 2024
(cherry picked from commit df90be3)

Signed-off-by: yuye-aws <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
yuye-aws pushed a commit to yuye-aws/skills that referenced this pull request Apr 26, 2024
…pensearch-project#186)

(cherry picked from commit df90be3)

Signed-off-by: yuye-aws <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: yuye-aws <[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