Skip to content

Show catalogs - #925

Merged
vamsimanohar merged 1 commit into
opensearch-project:2.xfrom
vamsimanohar:show-catalogs
Oct 24, 2022
Merged

vamsimanohar merged 1 commit into
opensearch-project:2.xfrom
vamsimanohar:show-catalogs

Conversation

@vamsimanohar

@vamsimanohar vamsimanohar commented Oct 18, 2022 •

Copy link
Copy Markdown
Member

Description

SHOW Catalogs Implementation.

Issues Resolved

#938

Docs will be added in single task.(#939)

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.

@vamsimanohar
vamsimanohar force-pushed the show-catalogs branch 2 times, most recently from 563b5b9 to 2ddc36b Compare October 18, 2022 05:59
@codecov-commenter

codecov-commenter commented Oct 18, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #925 (dddda5b) into 2.x (863f751) will decrease coverage by 2.73%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                2.x     #925      +/-   ##
============================================
- Coverage     97.94%   95.20%   -2.74%     
- Complexity     3126     3137      +11     
============================================
  Files           299      312      +13     
  Lines          7734     8429     +695     
  Branches        499      620     +121     
============================================
+ Hits           7575     8025     +450     
- Misses          158      350     +192     
- Partials          1       54      +53     
Flag Coverage Δ
query-workbench 62.76% <ø> (?)
sql-engine 97.95% <100.00%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
...opensearch/sql/planner/logical/LogicalPlanDSL.java 100.00% <ø> (ø)
...ava/org/opensearch/sql/utils/SystemIndexUtils.java 100.00% <ø> (ø)
...ain/java/org/opensearch/sql/analysis/Analyzer.java 100.00% <100.00%> (ø)
...rch/sql/planner/physical/catalog/CatalogTable.java 100.00% <100.00%> (ø)
...sql/planner/physical/catalog/CatalogTableScan.java 100.00% <100.00%> (ø)
...l/planner/physical/catalog/CatalogTableSchema.java 100.00% <100.00%> (ø)
...rg/opensearch/sql/ppl/config/PPLServiceConfig.java 100.00% <100.00%> (ø)
...java/org/opensearch/sql/ppl/parser/AstBuilder.java 100.00% <100.00%> (ø)
workbench/public/components/Header/Header.tsx 100.00% <0.00%> (ø)
workbench/public/components/PPLPage/PPLPage.tsx 56.52% <0.00%> (ø)
... and 8 more

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

@vamsimanohar
vamsimanohar force-pushed the show-catalogs branch 13 times, most recently from e08f265 to ffe7cde Compare October 18, 2022 10:41
@vamsimanohar
vamsimanohar marked this pull request as ready for review October 18, 2022 11:02
@vamsimanohar
vamsimanohar requested a review from a team as a code owner October 18, 2022 11:02
@vamsimanohar
vamsimanohar force-pushed the show-catalogs branch 10 times, most recently from 4715fc2 to d90723e Compare October 20, 2022 06:52
@vamsimanohar
vamsimanohar force-pushed the show-catalogs branch 2 times, most recently from a421c83 to 9928361 Compare October 20, 2022 22:24
@dai-chen

Copy link
Copy Markdown
Collaborator

Please consider adding IT and doctest in each PR. It would be much more helpful than adding them in one PR at the very end.

@vamsimanohar

vamsimanohar commented Oct 20, 2022 •

Copy link
Copy Markdown
Member Author

Please consider adding IT and doctest in each PR. It would be much more helpful than adding them in one PR at the very end.

This is my bad. There is one more PR on describe command.

  • will stick to docs/IT in every PR after that.

Also, I am still figuring out bringing out how to spin up prometheus instance for IT tests and may be doctests.

Signed-off-by: vamsi-amazon <[email protected]>
@dai-chen

Copy link
Copy Markdown
Collaborator

Please consider adding IT and doctest in each PR. It would be much more helpful than adding them in one PR at the very end.

This is my bad. There is one more PR on describe command.

  • will stick to docs/IT in every PR after that.

Also, I am still figuring out bringing out how to spin up prometheus instance for IT tests and may be doctests.

No problem! I see. We may need to check if Prometheus supports embedded mode or if any mock library can be used. Earlier I looked into this for S3 and can find some S3 mock library.

@vamsimanohar
vamsimanohar merged commit bfad32c into opensearch-project:2.x Oct 24, 2022
@dai-chen dai-chen added the enhancement New feature or request label Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement SHOW Catalogs

5 participants