-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[enhancement](sequence col) add session variable to skip sequence column check while INSERT INTO #41655
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
[enhancement](sequence col) add session variable to skip sequence column check while INSERT INTO #41655
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
551d6b5 to
85fe1c6
Compare
| "For unique key tables using a sequence column, the INSERT INTO operation requires a sequence value" | ||
| + " to be provided for each row. When this variable is enabled, the check will be skipped" | ||
| }) | ||
| public boolean skipInsertSequenceCheck = false; |
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.
better to use enableInsertSequenceCheck instead
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
run buildall |
|
run buildall |
dataroaring
left a comment
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.
LGTM
|
PR approved by at least one committer and no changes requested. |
…umn check while INSERT INTO (apache#41655) For unique key tables using a sequence column, the `INSERT INTO` operation requires a sequence value to be provided for each row. This PR add a new session variable `require_sequence_in_insert` to control this behavior.
…umn check while INSERT INTO (apache#41655) For unique key tables using a sequence column, the `INSERT INTO` operation requires a sequence value to be provided for each row. This PR add a new session variable `require_sequence_in_insert` to control this behavior.
Proposed changes
Issue Number: close #xxx
For unique key tables using a sequence column, the
INSERT INTOoperation requires a sequence value to be provided for each row.This PR add a new session variable
require_sequence_in_insertto control this behavior.