-
Notifications
You must be signed in to change notification settings - Fork 285
enable new DML plan for tables with vector columns #22092
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
ouyuanning
approved these changes
Jul 3, 2025
Cabbage74
pushed a commit
to Cabbage74/matrixone
that referenced
this pull request
Jul 7, 2025
refactored DML has better support for REPLACE INTO SELECT Approved by: @ouyuanning
aunjgr
added a commit
to aunjgr/matrixone
that referenced
this pull request
Jul 7, 2025
refactored DML has better support for REPLACE INTO SELECT Approved by: @ouyuanning
XuPeng-SH
pushed a commit
to XuPeng-SH/matrixone
that referenced
this pull request
Jul 11, 2025
refactored DML has better support for REPLACE INTO SELECT Approved by: @ouyuanning
7 tasks
XuPeng-SH
added a commit
that referenced
this pull request
Jul 12, 2025
### **User description** ## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue #22151 ## What this PR does / why we need it: Revert 22092 changes in 2.2-dev due to oom ___ ### **PR Type** Bug fix ___ ### **Description** - Revert changes from PR #22092 causing OOM issues - Add vector column DML operation restriction - Import types package for array type checking ___ ### **Changes diagram** ```mermaid flowchart LR A["Import types package"] --> B["Check column types"] B --> C["Block vector column DML"] C --> D["Prevent OOM issues"] ``` ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Bug fix</strong></td><td><table> <tr> <td> <details> <summary><strong>dml_context.go</strong><dd><code>Add vector column DML restriction</code> </dd></summary> <hr> pkg/sql/plan/dml_context.go <li>Add import for <code>types</code> package<br> <li> Add validation loop to check column types<br> <li> Return error for vector/array columns in DML operations </details> </td> <td><a href="https://github.com/matrixorigin/matrixone/pull/22157/files#diff-6e952c10166b807c3a9ef06cde3d549ebbee6e29eb2ffd1aeceb9eab8590fd3e">+7/-0</a> </td> </tr> </table></td></tr></tr></tbody></table> ___ > <details> <summary> Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about Qodo Merge usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue #22020
What this PR does / why we need it:
refactored DML has better support for REPLACE INTO SELECT
PR Type
Enhancement
Description
Remove vector column restriction from DML operations
Enable new DML plan for tables with vector columns
Changes diagram
Changes walkthrough 📝
dml_context.go
Remove vector column DML restriction
pkg/sql/plan/dml_context.go
types
packageResolveSingleTable