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

Bug fix, datasource API should be case sensitive #2198

Merged
merged 5 commits into from
Oct 3, 2023

Conversation

penghuo
Copy link
Collaborator

@penghuo penghuo commented Oct 3, 2023

Description

  1. Using name.keyword == datasource.name when search. which is case sensitive.

Issues Resolved

#2196

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc 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.

derek-ho
derek-ho previously approved these changes Oct 3, 2023
Copy link
Collaborator

@derek-ho derek-ho left a comment

Choose a reason for hiding this comment

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

Thanks, just tested this and verified the bug

@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

Merging #2198 (24cac86) into main (5ce1bab) will increase coverage by 0.00%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               main    #2198   +/-   ##
=========================================
  Coverage     96.55%   96.55%           
  Complexity     4715     4715           
=========================================
  Files           436      436           
  Lines         12532    12533    +1     
  Branches        856      856           
=========================================
+ Hits          12100    12101    +1     
  Misses          422      422           
  Partials         10       10           
Flag Coverage Δ
sql-engine 96.55% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...s/storage/OpenSearchDataSourceMetadataStorage.java 98.76% <100.00%> (+<0.01%) ⬆️

Signed-off-by: Peng Huo <[email protected]>
@penghuo penghuo merged commit 79cac7d into opensearch-project:main Oct 3, 2023
22 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 3, 2023
* Bug fix, datasource API should be case sensitive

Signed-off-by: Peng Huo <[email protected]>

* fix format

Signed-off-by: Peng Huo <[email protected]>

* fix format

Signed-off-by: Peng Huo <[email protected]>

* fix IT

Signed-off-by: Peng Huo <[email protected]>

---------

Signed-off-by: Peng Huo <[email protected]>
(cherry picked from commit 79cac7d)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
vmmusings pushed a commit that referenced this pull request Oct 4, 2023
* Bug fix, datasource API should be case sensitive



* fix format



* fix format



* fix IT



---------


(cherry picked from commit 79cac7d)

Signed-off-by: Peng Huo <[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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x v2.11.0 Issues targeting release v2.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants