Skip to content

Add User Variable discards and fix per-row field to column indices for LOAD DATA#3349

Merged
elianddb merged 7 commits intomainfrom
elian/us-cn-addr
Dec 19, 2025
Merged

Add User Variable discards and fix per-row field to column indices for LOAD DATA#3349
elianddb merged 7 commits intomainfrom
elian/us-cn-addr

Conversation

@elianddb
Copy link
Copy Markdown
Contributor

@elianddb elianddb commented Dec 17, 2025

LOAD DATA has been ingesting user variable related fields into the rows used to evaluate set expressions. This fix resolves this issue, and as a result adds the feature to use user variables to discard fields from a parsed file line.

Default initialization of expressions has also been updated to follow MySQL's "zero value" behavior for non-nullable columns.

@elianddb elianddb changed the title add preprocessor for exprs and user vars Add User Variable discards and fix per-row field to column indices Dec 19, 2025
@elianddb elianddb changed the title Add User Variable discards and fix per-row field to column indices Add User Variable discards and fix per-row field to column indices for LOAD DATA Dec 19, 2025
Copy link
Copy Markdown
Contributor

@jycor jycor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elianddb elianddb merged commit 148693d into main Dec 19, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants