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 core/src/main files #2 #1931

Merged

Conversation

MitchellGale
Copy link
Contributor

Description

This PR applies Spotless on Java code for:
core/src/main/java/org/opensearch/sql/exception
core/src/main/java/org/opensearch/sql/executor
core/src/main/java/org/opensearch/sql/expression
core/src/main/java/org/opensearch/sql/monitor

Issues Resolved

[List any issues this PR will resolve]

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.

@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Merging #1931 (4cc4f30) into main (aa88b41) will increase coverage by 0.08%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main    #1931      +/-   ##
============================================
+ Coverage     97.42%   97.51%   +0.08%     
- Complexity     4646     4658      +12     
============================================
  Files           408      408              
  Lines         11549    11934     +385     
  Branches        838      834       -4     
============================================
+ Hits          11252    11637     +385     
  Misses          290      290              
  Partials          7        7              
Flag Coverage Δ
sql-engine 97.51% <100.00%> (+0.08%) ⬆️

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

Files Changed Coverage Δ
...h/sql/exception/ExpressionEvaluationException.java 100.00% <ø> (ø)
...opensearch/sql/exception/QueryEngineException.java 100.00% <ø> (ø)
...ensearch/sql/exception/SemanticCheckException.java 100.00% <ø> (ø)
.../org/opensearch/sql/executor/ExecutionContext.java 100.00% <ø> (ø)
...main/java/org/opensearch/sql/executor/QueryId.java 100.00% <ø> (ø)
...java/org/opensearch/sql/executor/QueryManager.java 100.00% <ø> (ø)
...opensearch/sql/executor/execution/CommandPlan.java 100.00% <ø> (ø)
...opensearch/sql/executor/execution/ExplainPlan.java 100.00% <ø> (ø)
...rch/sql/executor/execution/StreamingQueryPlan.java 100.00% <ø> (ø)
...org/opensearch/sql/executor/pagination/Cursor.java 100.00% <ø> (ø)
... and 69 more

GumpacG
GumpacG previously approved these changes Aug 4, 2023
acarbonetto
acarbonetto previously approved these changes Aug 4, 2023
Yury-Fridlyand
Yury-Fridlyand previously approved these changes Aug 5, 2023
Copy link
Collaborator

@Yury-Fridlyand Yury-Fridlyand left a comment

Choose a reason for hiding this comment

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

Minor polishing is needed

Signed-off-by: Mitchell Gale <[email protected]>
GumpacG
GumpacG previously approved these changes Aug 8, 2023
Yury-Fridlyand
Yury-Fridlyand previously approved these changes Aug 9, 2023
Signed-off-by: Mitchell Gale <[email protected]>
GumpacG
GumpacG previously approved these changes Aug 9, 2023
Copy link
Collaborator

@Yury-Fridlyand Yury-Fridlyand left a comment

Choose a reason for hiding this comment

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

LGFM, but SL blames some of your recent changes.
Is it possible to export SL output to a file?

Signed-off-by: Mitchell Gale <[email protected]>
@MitchellGale
Copy link
Contributor Author

LGFM, but SL blames some of your recent changes. Is it possible to export SL output to a file?

Into artifacts?

@MitchellGale
Copy link
Contributor Author

Only failing BWC and codecov. @Yury-Fridlyand @GumpacG now. Good to merge?

@Yury-Fridlyand Yury-Fridlyand merged commit b610ce9 into opensearch-project:main Aug 9, 2023
12 of 15 checks passed
@Yury-Fridlyand Yury-Fridlyand deleted the integ/sl_GoogleJavaFormat2 branch August 9, 2023 20:03
MitchellGale added a commit to Bit-Quill/opensearch-project-sql that referenced this pull request Aug 14, 2023
…ensearch-project#1931)

* Applied spotless changes to `core/stc/main/.../expression` and more.

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

* Applied all spotless for PR 2 for GJF

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

* Apply spotless to fix custom fixes.

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

* Remove unused <br>

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

* ignoring core checkstyle failures.

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

* addressed PR comments.

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

* Addressing PR 2 comments.

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

* Ran spotless apply

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

---------

Signed-off-by: Mitchell Gale <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
MitchellGale added a commit to Bit-Quill/opensearch-project-sql that referenced this pull request Aug 18, 2023
…ensearch-project#1931)

* Applied spotless changes to `core/stc/main/.../expression` and more.

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

* Applied all spotless for PR 2 for GJF

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

* Apply spotless to fix custom fixes.

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

* Remove unused <br>

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

* ignoring core checkstyle failures.

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

* addressed PR comments.

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

* Addressing PR 2 comments.

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

* Ran spotless apply

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

---------

Signed-off-by: Mitchell Gale <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
Yury-Fridlyand pushed a commit that referenced this pull request Aug 22, 2023
…in files #2 #1931 (#1993)

* [Spotless] Applying Google Code Format for core/src/main files #2 (#1931)

* Applied spotless changes to `core/stc/main/.../expression` and more.

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

* Applied all spotless for PR 2 for GJF

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

* Apply spotless to fix custom fixes.

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

* Remove unused <br>

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

* ignoring core checkstyle failures.

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

* addressed PR comments.

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

* Addressing PR 2 comments.

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

* Ran spotless apply

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

---------

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

* spotless apply

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

* address pr comments

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

---------

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

4 participants