kaijchen commented on code in PR #25480:
URL: https://github.com/apache/doris/pull/25480#discussion_r1361713194


##########
be/src/vec/sink/vtablet_block_convertor.h:
##########
@@ -66,15 +66,15 @@ class OlapTableBlockConvertor {
 
     Status _validate_column(RuntimeState* state, const TypeDescriptor& type, 
bool is_nullable,
                             vectorized::ColumnPtr column, size_t slot_index, 
bool* stop_processing,
-                            fmt::memory_buffer& error_prefix,
+                            fmt::memory_buffer& error_prefix, const uint32_t 
row_count,
                             vectorized::IColumn::Permutation* rows = nullptr);
 
     // make input data valid for OLAP table
     // return number of invalid/filtered rows.
     // invalid row number is set in Bitmap
     // set stop_processing if we want to stop the whole process now.
-    Status _validate_data(RuntimeState* state, vectorized::Block* block, 
int64_t& filtered_rows,
-                          bool* stop_processing);
+    Status _validate_data(RuntimeState* state, vectorized::Block* block, const 
uint32_t rows,

Review Comment:
   Remove this `const` in header file.



##########
be/src/vec/sink/vtablet_block_convertor.h:
##########
@@ -66,15 +66,15 @@ class OlapTableBlockConvertor {
 
     Status _validate_column(RuntimeState* state, const TypeDescriptor& type, 
bool is_nullable,
                             vectorized::ColumnPtr column, size_t slot_index, 
bool* stop_processing,
-                            fmt::memory_buffer& error_prefix,
+                            fmt::memory_buffer& error_prefix, const uint32_t 
row_count,

Review Comment:
   Remove this `const` in header file.



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to