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

(#1506) Remove reservedSymbolTable and replace with HIDDEN_FIELD_NAME #323

Conversation

acarbonetto
Copy link

Description

The reservedSymbolTable was included to separate out fields from hidden fields. It makes more sense to use the HIDDEN_FIELD_NAME namespace instead. Nothing changes for down-stream calls.

Issues Resolved

opensearch-project#1506

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.

@acarbonetto acarbonetto changed the title Remove reservedSymbolTable and replace with HIDDEN_FIELD_NAME (#1506) Remove reservedSymbolTable and replace with HIDDEN_FIELD_NAME Aug 3, 2023
@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Merging #323 (8438f5c) into integ-remove-reservedSymbolTable-1506 (605f3df) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@                             Coverage Diff                             @@
##             integ-remove-reservedSymbolTable-1506     #323      +/-   ##
===========================================================================
- Coverage                                    97.42%   97.42%   -0.01%     
+ Complexity                                    4647     4646       -1     
===========================================================================
  Files                                          408      408              
  Lines                                        11526    11524       -2     
  Branches                                       839      839              
===========================================================================
- Hits                                         11229    11227       -2     
  Misses                                         290      290              
  Partials                                         7        7              
Flag Coverage Δ
sql-engine 97.42% <100.00%> (-0.01%) ⬇️

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

Files Changed Coverage Δ
...a/org/opensearch/sql/analysis/TypeEnvironment.java 100.00% <ø> (ø)
...ain/java/org/opensearch/sql/analysis/Analyzer.java 100.00% <100.00%> (ø)
...rg/opensearch/sql/analysis/ExpressionAnalyzer.java 100.00% <100.00%> (ø)
.../org/opensearch/sql/analysis/symbol/Namespace.java 100.00% <100.00%> (ø)

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

Copy link

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

Please, enrich PR description. As I understand it is just a refactor and there are no changes for the end user. If it is correct, please, add to the description.

@acarbonetto acarbonetto merged commit 23c8dd4 into integ-remove-reservedSymbolTable-1506 Aug 4, 2023
@acarbonetto acarbonetto deleted the dev-remove-reservedSymbolTable-1506 branch August 4, 2023 20:23
acarbonetto added a commit that referenced this pull request Aug 4, 2023
… HIDDEN_FIELD_NAME (#323)

* opensearch-project#1506: Remove reservedSymbolTable and use HIDDEN_FIELD_NAME instead

Signed-off-by: acarbonetto <[email protected]>

* opensearch-project#1506: Remove reservedSymbolTable and use HIDDEN_FIELD_NAME instead

Signed-off-by: acarbonetto <[email protected]>

* opensearch-project#1506: Fix checkstyle errors

Signed-off-by: acarbonetto <[email protected]>

---------

Signed-off-by: acarbonetto <[email protected]>
acarbonetto added a commit that referenced this pull request Aug 15, 2023
… HIDDEN_FIELD_NAME (opensearch-project#1936)

* (opensearch-project#1506) Remove reservedSymbolTable and replace with HIDDEN_FIELD_NAME (#323)

* opensearch-project#1506: Remove reservedSymbolTable and use HIDDEN_FIELD_NAME instead

Signed-off-by: acarbonetto <[email protected]>

* opensearch-project#1506: Remove reservedSymbolTable and use HIDDEN_FIELD_NAME instead

Signed-off-by: acarbonetto <[email protected]>

* opensearch-project#1506: Fix checkstyle errors

Signed-off-by: acarbonetto <[email protected]>

---------

Signed-off-by: acarbonetto <[email protected]>

* opensearch-project#1506: spotless apply

Signed-off-by: acarbonetto <[email protected]>

---------

Signed-off-by: acarbonetto <[email protected]>
(cherry picked from commit 5381a6f)
Signed-off-by: acarbonetto <[email protected]>
Yury-Fridlyand pushed a commit that referenced this pull request Aug 16, 2023
… HIDDEN_FIELD_NAME (opensearch-project#1936)

* (opensearch-project#1506) Remove reservedSymbolTable and replace with HIDDEN_FIELD_NAME (#323)

* opensearch-project#1506: Remove reservedSymbolTable and use HIDDEN_FIELD_NAME instead

Signed-off-by: acarbonetto <[email protected]>

* opensearch-project#1506: Remove reservedSymbolTable and use HIDDEN_FIELD_NAME instead

Signed-off-by: acarbonetto <[email protected]>

* opensearch-project#1506: Fix checkstyle errors

Signed-off-by: acarbonetto <[email protected]>

---------

Signed-off-by: acarbonetto <[email protected]>

* opensearch-project#1506: spotless apply

Signed-off-by: acarbonetto <[email protected]>

---------

Signed-off-by: acarbonetto <[email protected]>
MitchellGale pushed a commit that referenced this pull request Aug 21, 2023
… HIDDEN_FIELD_NAME (opensearch-project#1936) (opensearch-project#1964)

* (opensearch-project#1506) Remove reservedSymbolTable and replace with HIDDEN_FIELD_NAME (#323)

* opensearch-project#1506: Remove reservedSymbolTable and use HIDDEN_FIELD_NAME instead



* opensearch-project#1506: Remove reservedSymbolTable and use HIDDEN_FIELD_NAME instead



* opensearch-project#1506: Fix checkstyle errors



---------



* opensearch-project#1506: spotless apply



---------


(cherry picked from commit 5381a6f)

Signed-off-by: acarbonetto <[email protected]>
andy-k-improving pushed a commit that referenced this pull request Nov 16, 2024
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.

5 participants