Skip to content

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

Merged
Yury-Fridlyand merged 11 commits into
opensearch-project:mainfrom
Bit-Quill:dev/sl_GoogleJavaFormat16
Aug 18, 2023
Merged

Yury-Fridlyand merged 11 commits into
opensearch-project:mainfrom
Bit-Quill:dev/sl_GoogleJavaFormat16

Conversation

@MitchellGale

Copy link
Copy Markdown
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.

@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
@codecov

codecov Bot commented Aug 16, 2023 •

Copy link
Copy Markdown

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 <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
MitchellGale and others added 4 commits August 17, 2023 09:36
Co-authored-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
Co-authored-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
Yury-Fridlyand
Yury-Fridlyand previously approved these changes Aug 17, 2023
…/system/OpenSearchDescribeIndexRequest.java

Co-authored-by: Guian Gumpac <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
…e/agg/MetricParserHelper.java

Co-authored-by: Guian Gumpac <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
@Yury-Fridlyand

Copy link
Copy Markdown
Collaborator

You have compilation errors

Signed-off-by: Mitchell Gale <[email protected]>
@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 <[email protected]>

* Manual spotless changes

Signed-off-by: Mitchell Gale <[email protected]>

* ignore failures for checkstyles.

Signed-off-by: Mitchell Gale <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>

* Address PR comment

Signed-off-by: Mitchell Gale <[email protected]>

* add order list in Content.java

Signed-off-by: Mitchell Gale <[email protected]>

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

Co-authored-by: Guian Gumpac <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>

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

Co-authored-by: Guian Gumpac <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>

* Fixing compilation error

Signed-off-by: Mitchell Gale <[email protected]>

---------

Signed-off-by: Mitchell Gale <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
Co-authored-by: Yury-Fridlyand <[email protected]>
Co-authored-by: Guian Gumpac <[email protected]>
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