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

Replace non-ASCII characters in code and docs. #1365

Merged
merged 4 commits into from
Mar 28, 2023

Conversation

Yury-Fridlyand
Copy link
Collaborator

@Yury-Fridlyand Yury-Fridlyand commented Feb 22, 2023

Description

Replace non-ASCII characters in code and docs.
Characters left:

DEVELOPER_GUIDE.rst:132:   │   ├── attributions.md
DEVELOPER_GUIDE.rst:133:   │   ├── category.json
DEVELOPER_GUIDE.rst:134:   │   ├── dev
DEVELOPER_GUIDE.rst:135:   │   └── user

and ° (temperature degree symbol) in IT sample data:

integ-test/src/test/resources/beer.stackexchange.json:26
integ-test/src/test/resources/beer.stackexchange.json:60

UPD
Removed all non-English comments from legacy engine

Issues Resolved

Fixes #1364

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.

@Yury-Fridlyand Yury-Fridlyand requested a review from a team as a code owner February 22, 2023 01:44
@codecov-commenter
Copy link

codecov-commenter commented Feb 22, 2023

Codecov Report

Merging #1365 (97ba941) into main (cd95bc5) will increase coverage by 0.00%.
The diff coverage is n/a.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff            @@
##               main    #1365   +/-   ##
=========================================
  Coverage     98.38%   98.38%           
- Complexity     3693     3694    +1     
=========================================
  Files           343      343           
  Lines          9107     9113    +6     
  Branches        585      586    +1     
=========================================
+ Hits           8960     8966    +6     
  Misses          142      142           
  Partials          5        5           
Flag Coverage Δ
sql-engine 98.38% <ø> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
...arch/sql/expression/datetime/DateTimeFunction.java 100.00% <ø> (ø)

... and 2 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

MaxKsyunz
MaxKsyunz previously approved these changes Feb 22, 2023
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
@Yury-Fridlyand
Copy link
Collaborator Author

Rebased

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Copy link
Collaborator

@dai-chen dai-chen left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@dai-chen
Copy link
Collaborator

may need to merge main to fix BWC test?

@dai-chen dai-chen added the maintenance Improves code quality, but not the product label Mar 16, 2023
@Yury-Fridlyand
Copy link
Collaborator Author

may need to merge main to fix BWC test?

I think this doesn't help. BWC in GHA environment runs on Linux and it is not sensitive for Unicode characters. Jenkins CI runs on Windows and fails.

@Yury-Fridlyand Yury-Fridlyand merged commit 23cc0f6 into opensearch-project:main Mar 28, 2023
@Yury-Fridlyand Yury-Fridlyand deleted the fix-ci-on-jenkins branch March 28, 2023 17:30
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 28, 2023
* Replace non-ASCII characters in code and docs.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Recover unicode characters in grok tests.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Removed some non-English comments.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Remove non-English comments from ITs.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

---------

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
(cherry picked from commit 23cc0f6)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 29, 2023
* Replace non-ASCII characters in code and docs.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Recover unicode characters in grok tests.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Removed some non-English comments.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Remove non-English comments from ITs.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

---------

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
(cherry picked from commit 23cc0f6)
Yury-Fridlyand added a commit that referenced this pull request Mar 30, 2023
* Replace non-ASCII characters in code and docs.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Recover unicode characters in grok tests.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Removed some non-English comments.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Remove non-English comments from ITs.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

---------

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
(cherry picked from commit 23cc0f6)

Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x maintenance Improves code quality, but not the product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[AUTOCUT] OS Distribution Build Failed for sql-2.6.0
6 participants