[fix](load) Preserve routine load CSV header formats - #67513
Open
0AyanamiRei wants to merge 1 commit into
Open
Conversation
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: Nereids routine load normalized csv_with_names and csv_with_names_and_types to plain CSV while creating the job, then omitted the header type during task planning. Header rows were consequently parsed as data and counted as errors. Preserve the validated CSV header format in job properties and forward it to the Nereids data description.
### Release note
Routine Load now honors csv_with_names and csv_with_names_and_types without treating header rows as data.
### Check List (For Author)
- Test: Unit Test
- Extended KafkaRoutineLoadJobTest coverage for plain and header-aware CSV formats; not run per request.
- Behavior changed: Yes. Routine Load skips CSV header rows according to the configured format.
- Does this need documentation: No
0AyanamiRei
requested review from
924060929,
englefly,
gavinchou,
liaoxin01,
morrySnow and
starocean999
as code owners
September 3, 2026 21:44
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
Contributor
TPC-H: Total hot run time: 17049 ms |
Contributor
TPC-DS: Total hot run time: 82740 ms |
Contributor
ClickBench: Total hot run time: 14.79 s |
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
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.
What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary:
Nereids routine load normalized
csv_with_namesandcsv_with_names_and_typesto plain CSV while creating the job, then omitted the header type during task planning. Header rows were consequently parsed as data and counted as errors.This change preserves the validated CSV header format in job properties and forwards it through the Nereids task to the data description.
Release note
Routine Load now honors
csv_with_namesandcsv_with_names_and_typeswithout treating header rows as data.Check List (For Author)
Test
KafkaRoutineLoadJobTestcoverage for plain and header-aware CSV formats.Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)