[v3.0.0] Deprecate SQL Delete statement#3337
[v3.0.0] Deprecate SQL Delete statement#3337dai-chen merged 7 commits intoopensearch-project:mainfrom
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>
noCharger
left a comment
There was a problem hiding this comment.
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. |
penghuo
left a comment
There was a problem hiding this comment.
Is there doc to track 3.0 breaking change? if no, let's create a task to track it.
Sure will do. |
Description
This PR removes the SQL
DELETEstatement and the associated plugin settingplugins.sql.delete.enabledfrom the codebase, doctests, and documentation.Note: There are still legacy code related to the
DELETEstatement 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.