Skip to content

Conversation

@MitchellGale
Copy link
Contributor

Description

Applies spotless for SQL directory in project. Sets checkstyle to not fail on failure for sql 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.

* 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>
Yury-Fridlyand
Yury-Fridlyand previously approved these changes Aug 15, 2023
/**
* Argument "asc" is required.
* Argument "nullFirst" is optional and determined by Analyzer later if absent.
* Argument "asc" is required. Argument "nullFirst" is optional and determined by Analyzer later
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this comment is outdated and can be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Are you addressing the entire comment?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, the function signature was changed, but comment isn't

Copy link
Collaborator

Choose a reason for hiding this comment

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

You can fix it or leave it. The change request is unrelated to your work.

Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>
@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Merging #1968 (39c746d) into main (c60a4f1) will decrease coverage by 0.01%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main    #1968      +/-   ##
============================================
- Coverage     97.51%   97.51%   -0.01%     
- Complexity     4656     4657       +1     
============================================
  Files           408      408              
  Lines         11932    11912      -20     
  Branches        829      828       -1     
============================================
- Hits          11636    11616      -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

Yury-Fridlyand
Yury-Fridlyand previously approved these changes Aug 16, 2023
GumpacG
GumpacG previously approved these changes Aug 16, 2023
Co-authored-by: Guian Gumpac <guian.gumpac@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>
@MitchellGale MitchellGale dismissed stale reviews from GumpacG and Yury-Fridlyand via d27f788 August 16, 2023 18:40
Yury-Fridlyand
Yury-Fridlyand previously approved these changes Aug 16, 2023
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>
@Yury-Fridlyand Yury-Fridlyand merged commit b035b13 into opensearch-project:main Aug 16, 2023
@Yury-Fridlyand Yury-Fridlyand deleted the integ/sl_GoogleJavaFormat11 branch August 16, 2023 21:47
MitchellGale added a commit to Bit-Quill/opensearch-project-sql 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