Gabriel39 commented on code in PR #64357:
URL: https://github.com/apache/doris/pull/64357#discussion_r3387885743


##########
be/src/format_v2/schema_projection.cpp:
##########
@@ -96,8 +96,17 @@ Status project_column_definition(const ColumnDefinition& 
field, const LocalColum
             return Status::InvalidArgument("Invalid projection child id {} for 
field {}",
                                            child_projection.field_id(), 
field.name);
         }
+    }
+    for (const auto& child : field.children) {
+        const auto child_projection_it =
+                std::ranges::find_if(projection.children, [&](const 
LocalColumnIndex& child_proj) {
+                    return child_proj.field_id() == child.file_local_id();

Review Comment:
   field_id这个名字不好



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to