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

[v3.0.0] Deprecate SQL Delete statement #3337

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

dai-chen
Copy link
Collaborator

@dai-chen dai-chen commented Feb 19, 2025

Description

This PR removes the SQL DELETE statement and the associated plugin setting plugins.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

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

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 deprecate-delete-statement branch from ee5e40a to 288bc31 Compare February 20, 2025 19:11
Signed-off-by: Chen Dai <daichen@amazon.com>
Signed-off-by: Chen Dai <daichen@amazon.com>
noCharger
noCharger previously approved these changes Feb 21, 2025
Copy link
Collaborator

@noCharger noCharger left a 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?

@dai-chen
Copy link
Collaborator Author

dai-chen commented Feb 21, 2025

Overall lgtm. Just curious, are there any backwards compatible test cases for the delete statement and its associated settings?

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>
@noCharger
Copy link
Collaborator

Or you mean we should add some test for this breaking changes?

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.

Copy link
Collaborator

@penghuo penghuo left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove DELETE statement support in SQL and remove plugins-sql-delete-enabled
3 participants