Skip to content

[Spotless] Applying Google Code Format for sql files #11#330

Merged
MitchellGale merged 3 commits intointeg/sl_GoogleJavaFormat11from
dev/sl_GoogleJavaFormat11
Aug 15, 2023
Merged

[Spotless] Applying Google Code Format for sql files #11#330
MitchellGale merged 3 commits intointeg/sl_GoogleJavaFormat11from
dev/sl_GoogleJavaFormat11

Conversation

@MitchellGale
Copy link
Copy Markdown

Description

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

Issues Resolved

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

codecov bot commented Aug 4, 2023

Codecov Report

Merging #330 (1e01468) into integ/sl_GoogleJavaFormat11 (245c4f8) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@                        Coverage Diff                        @@
##             integ/sl_GoogleJavaFormat11     #330      +/-   ##
=================================================================
- Coverage                          97.51%   97.51%   -0.01%     
- Complexity                          4657     4658       +1     
=================================================================
  Files                                408      408              
  Lines                              11933    11913      -20     
  Branches                             829      828       -1     
=================================================================
- Hits                               11637    11617      -20     
  Misses                               289      289              
  Partials                               7        7              
Flag Coverage Δ
sql-engine 97.51% <100.00%> (-0.01%) ⬇️

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

Files Changed Coverage Δ
.../org/opensearch/sql/sql/antlr/SQLSyntaxParser.java 100.00% <ø> (ø)
...nsearch/sql/sql/parser/AstHavingFilterBuilder.java 100.00% <ø> (ø)
...nsearch/sql/sql/parser/context/ParsingContext.java 100.00% <ø> (ø)
...c/main/java/org/opensearch/sql/sql/SQLService.java 100.00% <100.00%> (ø)
...g/opensearch/sql/sql/antlr/AnonymizerListener.java 100.00% <100.00%> (ø)
...org/opensearch/sql/sql/domain/SQLQueryRequest.java 100.00% <100.00%> (ø)
...ensearch/sql/sql/parser/AstAggregationBuilder.java 100.00% <100.00%> (ø)
...java/org/opensearch/sql/sql/parser/AstBuilder.java 100.00% <100.00%> (ø)
...pensearch/sql/sql/parser/AstExpressionBuilder.java 100.00% <100.00%> (ø)
.../org/opensearch/sql/sql/parser/AstSortBuilder.java 100.00% <100.00%> (ø)
... and 2 more

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

import org.opensearch.sql.sql.parser.context.QuerySpecification;

/**
*
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

why would spotless do this?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Unsure...

}

/**
*
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

??

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Unsure...

private final Set<UnresolvedExpression> aggregators = new LinkedHashSet<>();

/**
*
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

??

@MitchellGale MitchellGale merged commit 74d950c into integ/sl_GoogleJavaFormat11 Aug 15, 2023
MitchellGale added a commit that referenced this pull request Aug 16, 2023
…project#1968)

* [Spotless] Applying Google Code Format for sql files #11 (#330)

* Spotless apply, ignore checkstyle, manual java doc fixes.

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

* Spotless apply

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

---------

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

* Apply suggestions from code review

Co-authored-by: Guian Gumpac <guian.gumpac@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>
Co-authored-by: Guian Gumpac <guian.gumpac@improving.com>
MitchellGale added a commit that referenced this pull request Aug 22, 2023
…project#1968)

* [Spotless] Applying Google Code Format for sql files #11 (#330)

* Spotless apply, ignore checkstyle, manual java doc fixes.

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

* Spotless apply

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

---------

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

* Apply suggestions from code review

Co-authored-by: Guian Gumpac <guian.gumpac@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>
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.

4 participants