[fix](fe) Preserve path partition columns with CSV schema - #67407
Open
0AyanamiRei wants to merge 1 commit into
Open
[fix](fe) Preserve path partition columns with CSV schema#674070AyanamiRei wants to merge 1 commit into
0AyanamiRei wants to merge 1 commit into
Conversation
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: 16828 ms |
Contributor
TPC-DS: Total hot run time: 81714 ms |
Contributor
ClickBench: Total hot run time: 14.61 s |
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: File table-valued functions returned only explicitly declared CSV columns when csv_schema was set, so columns derived from path_partition_keys disappeared from the table schema. Append non-conflicting path partition columns to the explicit CSV schema in their declared order and reject case-insensitive conflicts before they can create a duplicate schema.
### Release note
CSV file table-valued functions now expose path partition columns when csv_schema is specified and reject conflicting column names.
### Check List (For Author)
- Test: FE unit test and regression test
- FE unit test: ExternalFileTableValuedFunctionTest (5 tests)
- Regression test: test_csv_schema_with_path_partition_keys, including conflict rejection
- Behavior changed: Yes. Path partition columns remain available with an explicit CSV schema.
- Does this need documentation: No
0AyanamiRei
force-pushed
the
fix/doris-25094-csv-schema-path-partitions
branch
from
September 2, 2026 03:00
465e988 to
b895d8a
Compare
16 tasks
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: File table-valued functions returned only explicitly declared CSV columns when
csv_schemawas set, so columns derived frompath_partition_keysdisappeared from the table schema. Append non-conflicting path partition columns to the explicit CSV schema in their declared order and reject case-insensitive conflicts before they can create a duplicate schema.Release note
CSV file table-valued functions now expose path partition columns when
csv_schemais specified and reject conflicting column names.Check List (For Author)
ExternalFileTableValuedFunctionTest(5 tests)test_csv_schema_with_path_partition_keys, including conflict rejection