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

Resolve table function based on StorageEngine provided function resolver #1354

Merged
merged 4 commits into from
Mar 10, 2023

Conversation

penghuo
Copy link
Collaborator

@penghuo penghuo commented Feb 16, 2023

Description

  1. Resolve table function based on StorageEngine provided function resolver.
  2. The JDBC datasource PR based on this PR.

Issues Resolved

#1331

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.

@penghuo penghuo self-assigned this Feb 16, 2023
@@ -8,5 +8,5 @@
public enum DataSourceType {
PROMETHEUS,
OPENSEARCH,
FILESYSTEM
JDBC
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

FILESYSTEM supported has been removed in #1284.

@@ -62,7 +62,7 @@ dependencies {
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
events "skipped", "failed"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ignore log PASSED test cases.

@codecov-commenter
Copy link

codecov-commenter commented Feb 16, 2023

Codecov Report

Merging #1354 (ef27088) into main (98fb969) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@             Coverage Diff              @@
##               main    #1354      +/-   ##
============================================
- Coverage     98.38%   98.38%   -0.01%     
+ Complexity     3698     3695       -3     
============================================
  Files           343      343              
  Lines          9121     9113       -8     
  Branches        586      582       -4     
============================================
- Hits           8974     8966       -8     
  Misses          142      142              
  Partials          5        5              
Flag Coverage Δ
sql-engine 98.38% <100.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
...ain/java/org/opensearch/sql/analysis/Analyzer.java 100.00% <100.00%> (ø)
...expression/function/BuiltinFunctionRepository.java 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@penghuo penghuo marked this pull request as ready for review February 27, 2023 16:20
@penghuo penghuo requested a review from a team as a code owner February 27, 2023 16:20
@penghuo penghuo requested a review from vmmusings February 27, 2023 16:21
anirudha
anirudha previously approved these changes Mar 6, 2023
@penghuo
Copy link
Collaborator Author

penghuo commented Mar 6, 2023

To reviewer: Ignore failed bwc test.

YANG-DB
YANG-DB previously approved these changes Mar 6, 2023
dai-chen
dai-chen previously approved these changes Mar 6, 2023
Copy link
Collaborator

@dai-chen dai-chen left a comment

Choose a reason for hiding this comment

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

Thanks for the changes!

@dai-chen dai-chen added the maintenance Improves code quality, but not the product label Mar 6, 2023
@penghuo penghuo dismissed stale reviews from dai-chen, YANG-DB, and anirudha via ef27088 March 9, 2023 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x maintenance Improves code quality, but not the product spark integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants