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 #321

Merged

Conversation

MitchellGale
Copy link

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.

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>
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Merging #321 (c9a1bce) into integ/sl_GoogleJavaFormat2 (d00dc4d) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@                       Coverage Diff                        @@
##             integ/sl_GoogleJavaFormat2     #321      +/-   ##
================================================================
+ Coverage                         97.42%   97.50%   +0.08%     
- Complexity                         4647     4659      +12     
================================================================
  Files                               408      408              
  Lines                             11526    11912     +386     
  Branches                            839      835       -4     
================================================================
+ Hits                              11229    11615     +386     
  Misses                              290      290              
  Partials                              7        7              
Flag Coverage Δ
sql-engine 97.50% <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

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
public interface ExecutionEngine {

/**
* Execute physical plan and call back response listener.
* Todo. deprecated this interface after finalize {@link ExecutionContext}.
* Execute physical plan and call back response listener. Todo. deprecated this interface after

Choose a reason for hiding this comment

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

@Yury-Fridlyand was this one of your comments? Do we need to address this?

* Execute the {@link UnresolvedPlan}, using {@link ResponseListener} to get response.
* Todo. deprecated this interface after finalize {@link PlanContext}.
* Execute the {@link UnresolvedPlan}, using {@link ResponseListener} to get response. Todo.
* deprecated this interface after finalize {@link PlanContext}.

Choose a reason for hiding this comment

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

@Yury-Fridlyand same here

@MitchellGale MitchellGale merged commit ad948b8 into integ/sl_GoogleJavaFormat2 Aug 3, 2023
17 of 18 checks passed
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.

2 participants