This is an automated email from the ASF dual-hosted git repository. suxiaogang223 pushed a commit to branch codex/complex-column-predicate-stats-filtering in repository https://gitbox.apache.org/repos/asf/doris.git
commit e4017a11a3435fffad24518b69b768bd563e1244 Author: Socrates <[email protected]> AuthorDate: Thu Jun 4 02:49:52 2026 +0800 [fix](be) Detect renamed nested parquet child projection ### What problem does this PR solve? Issue Number: close #xxx Related PR: #xxx Problem Summary: Treat table/file nested child name mismatches as complex projections so field-id mapped renamed children are read with the correct file-local projection. ### Release note None ### Check List (For Author) - Test: Unit Test - git diff --check - Behavior changed: No - Does this need documentation: No --- be/src/format/reader/column_mapper.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/be/src/format/reader/column_mapper.cpp b/be/src/format/reader/column_mapper.cpp index b338b60dce9..0e00b223da6 100644 --- a/be/src/format/reader/column_mapper.cpp +++ b/be/src/format/reader/column_mapper.cpp @@ -1006,7 +1006,8 @@ static bool complex_projection_has_pruned_children(const ColumnMapping& mapping) return true; } for (const auto& child_mapping : mapping.child_mappings) { - if (!child_mapping.field_id.has_value() || + if (child_mapping.table_column_name != child_mapping.file_column_name || + !child_mapping.field_id.has_value() || complex_projection_has_pruned_children(child_mapping)) { return true; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
