wumeibanfa commented on code in PR #55719:
URL: https://github.com/apache/doris/pull/55719#discussion_r2343041420


##########
be/src/vec/exec/format/parquet/vparquet_group_reader.cpp:
##########
@@ -122,6 +122,7 @@ Status RowGroupReader::init(
     for (const auto& read_table_col : _read_table_columns) {
         auto read_file_col = 
_table_info_node_ptr->children_file_column_name(read_table_col);
 
+        // The schema is obtained from vparquet_reader, whose value is derived 
from parse_thrift_footer, which is a mutable object.
         auto* field = 
const_cast<FieldSchema*>(schema.get_column(read_file_col));

Review Comment:
   然后上游也改不了,上游用了一个底层的数据结构cache,然后value存的是const T
   



-- 
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