-
Notifications
You must be signed in to change notification settings - Fork 33
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
Change delete index API to logical delete #191
Change delete index API to logical delete #191
Conversation
Signed-off-by: Chen Dai <daichen@amazon.com>
9bd6fc6
to
11b8270
Compare
Signed-off-by: Chen Dai <daichen@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no doc change required?
Signed-off-by: Chen Dai <daichen@amazon.com>
Missed it. Updated user manual here: https://github.com/dai-chen/opensearch-spark/blob/change-logical-delete/docs/index.md#sql. Thanks! |
- **SHOW:** Display all Flint indexes in the specified catalog or source table. | ||
- **DESCRIBE:** Retrieve detailed information about a Flint index. | ||
- **DROP:** Delete a Flint index logically. This action stops the refreshing process and rules it out in query rewrite. | ||
- **VACUUM:** Physically remove all data associated with a Flint index, including index metadata and data. This operation effectively cleans up and frees resources. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious, is there any precedence for this work "VACCUM"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can find more details here: #189. This is mainly to fix the inconsistent behavior with SQL plugin on drop index statement.
Description
This is a follow-up PR after #189 which changes the semantic of delete index API from physical to logical delete.
Issues Resolved
#104
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.