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


##########
be/src/vec/exec/format/orc/vorc_reader.cpp:
##########
@@ -1680,6 +1682,8 @@ Status OrcReader::_fill_doris_array_offsets(const 
std::string& col_name,
                                             size_t num_values, size_t* 
element_size) {
     SCOPED_RAW_TIMER(&_statistics.decode_value_time);
     if (num_values > 0) {
+        // The const variable uses a non-const method from a third-party 
dependency
+        // without modification, so const_cast can be used.

Review Comment:
   这里先这样修改吗



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