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

[Spotless] Applying Google Code Format for opensearch directory #16 #1977

Merged

Conversation

MitchellGale
Copy link
Contributor

Description

Applies spotless for opensearch directory in project. Sets checkstyle to not fail on failure for opensearch directory.

Issues Resolved

#1101

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.

Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
@MitchellGale MitchellGale force-pushed the dev/sl_GoogleJavaFormat16 branch from 8aece8a to cecba8a Compare August 16, 2023 22:56
@MitchellGale MitchellGale changed the title [Spotless] Applying Google Code Format for opensearch directory #15 [Spotless] Applying Google Code Format for opensearch directory #16 Aug 16, 2023
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Merging #1977 (dbc818a) into main (491a73b) will decrease coverage by 0.19%.
Report is 6 commits behind head on main.
The diff coverage is 82.37%.

@@             Coverage Diff              @@
##               main    #1977      +/-   ##
============================================
- Coverage     97.51%   97.33%   -0.19%     
  Complexity     4656     4656              
============================================
  Files           408      408              
  Lines         11932    12063     +131     
  Branches        829      829              
============================================
+ Hits          11636    11741     +105     
- Misses          289      315      +26     
  Partials          7        7              
Flag Coverage Δ
sql-engine 97.33% <82.37%> (-0.19%) ⬇️

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

Files Changed Coverage Δ
...org/opensearch/sql/opensearch/client/MLClient.java 0.00% <ø> (ø)
...sql/opensearch/data/type/OpenSearchBinaryType.java 100.00% <ø> (ø)
...ensearch/data/value/OpenSearchExprBinaryValue.java 100.00% <ø> (ø)
...nsearch/executor/protector/ExecutionProtector.java 100.00% <ø> (ø)
...rch/executor/protector/NoopExecutionProtector.java 100.00% <ø> (ø)
...ch/sql/opensearch/planner/physical/ADOperator.java 0.00% <0.00%> (ø)
...ch/request/system/OpenSearchCatIndicesRequest.java 100.00% <ø> (ø)
...earch/response/agg/CompositeAggregationParser.java 100.00% <ø> (ø)
...arch/sql/opensearch/response/agg/FilterParser.java 100.00% <ø> (ø)
...search/response/agg/NoBucketAggregationParser.java 100.00% <ø> (ø)
... and 42 more

... and 70 files with indirect coverage changes

Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>
MitchellGale and others added 4 commits August 17, 2023 09:36
Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>
Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
Yury-Fridlyand
Yury-Fridlyand previously approved these changes Aug 17, 2023
…/system/OpenSearchDescribeIndexRequest.java

Co-authored-by: Guian Gumpac <guian.gumpac@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>
…e/agg/MetricParserHelper.java

Co-authored-by: Guian Gumpac <guian.gumpac@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>
@Yury-Fridlyand
Copy link
Collaborator

You have compilation errors

Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
@Yury-Fridlyand Yury-Fridlyand merged commit 56aa572 into opensearch-project:main Aug 18, 2023
@Yury-Fridlyand Yury-Fridlyand deleted the dev/sl_GoogleJavaFormat16 branch August 18, 2023 16:28
MitchellGale added a commit to Bit-Quill/opensearch-project-sql that referenced this pull request Aug 22, 2023
…pensearch-project#1977)

* spotless apply for OpenSearch P1.

Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>

* Manual spotless changes

Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>

* ignore failures for checkstyles.

Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>

* Apply suggestions from code review

Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>

* Apply suggestions from code review

Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>

* Apply suggestions from code review

Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>

* Address PR comment

Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>

* add order list in Content.java

Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>

* Update opensearch/src/main/java/org/opensearch/sql/opensearch/request/system/OpenSearchDescribeIndexRequest.java

Co-authored-by: Guian Gumpac <guian.gumpac@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>

* Update opensearch/src/main/java/org/opensearch/sql/opensearch/response/agg/MetricParserHelper.java

Co-authored-by: Guian Gumpac <guian.gumpac@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>

* Fixing compilation error

Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>

---------

Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>
Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Co-authored-by: Guian Gumpac <guian.gumpac@improving.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants