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

Add show and desc materialized view SQL support #81

Merged
merged 4 commits into from
Oct 19, 2023

Conversation

dai-chen
Copy link
Collaborator

@dai-chen dai-chen commented Oct 19, 2023

Description

  1. Add SHOW/DESC materialized view SQL statement
  2. Fix a bug that underlying OS exception thrown when describeIndexes() doesn't find any matched index

Documentation

https://github.com/dai-chen/opensearch-spark/blob/add-mv-show-desc-statement/docs/index.md#materialized-view

Example

SHOW MATERIALIZED VIEWS IN myglue;
myglue.default.http_logs_metrics
myglue.default.lineitem_metrics

spark-sql> DESC MATERIALIZED VIEW myglue.default.http_logs_metrics;
startTime	timestamp
count	long

Issues Resolved

#25

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.

@dai-chen dai-chen added the enhancement New feature or request label Oct 19, 2023
@dai-chen dai-chen self-assigned this Oct 19, 2023
@dai-chen dai-chen force-pushed the add-mv-show-desc-statement branch from 4a7a36e to ef8031a Compare October 19, 2023 15:52
Signed-off-by: Chen Dai <daichen@amazon.com>
Signed-off-by: Chen Dai <daichen@amazon.com>
Signed-off-by: Chen Dai <daichen@amazon.com>
Signed-off-by: Chen Dai <daichen@amazon.com>
@dai-chen dai-chen force-pushed the add-mv-show-desc-statement branch from 740373a to 6be65bd Compare October 19, 2023 21:31
@dai-chen dai-chen marked this pull request as ready for review October 19, 2023 22:07
@dai-chen dai-chen merged commit f8ec62e into opensearch-project:main Oct 19, 2023
4 checks passed
@dai-chen dai-chen deleted the add-mv-show-desc-statement branch October 19, 2023 22:44
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.

2 participants