-
Notifications
You must be signed in to change notification settings - Fork 146
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
[v3.0.0] Deprecate SQL Delete statement #3337
base: main
Are you sure you want to change the base?
[v3.0.0] Deprecate SQL Delete statement #3337
Conversation
Signed-off-by: Chen Dai <daichen@amazon.com>
Signed-off-by: Chen Dai <daichen@amazon.com>
Signed-off-by: Chen Dai <daichen@amazon.com>
ee5e40a
to
288bc31
Compare
Signed-off-by: Chen Dai <daichen@amazon.com>
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.
Overall lgtm. Just curious, are there any backwards compatible test cases for the delete statement and its associated settings?
integ-test/src/test/java/org/opensearch/sql/legacy/ExplainIT.java
Outdated
Show resolved
Hide resolved
legacy/src/main/java/org/opensearch/sql/legacy/query/OpenSearchActionFactory.java
Outdated
Show resolved
Hide resolved
I didn't find earlier. Let me do another pass. Or you mean we should add some test for this breaking changes? |
Signed-off-by: Chen Dai <daichen@amazon.com>
Signed-off-by: Chen Dai <daichen@amazon.com>
It's fine if there is no existing bwc test. Also, not sure if we can direct the query to a specific node in a mixed cluster with both new and old nodes. |
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.
Is there doc to track 3.0 breaking change? if no, let's create a task to track it.
Description
This PR removes the SQL
DELETE
statement and the associated plugin settingplugins.sql.delete.enabled
from the codebase, doctests, and documentation.Note: There are still legacy code related to the
DELETE
statement inherited from NLPChina. Since we've been working on Calcite integration, I am leaving that legacy code untouched for now.Related Issues
Resolves #3281
Check List
--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.