HappenLee commented on code in PR #66436:
URL: https://github.com/apache/doris/pull/66436#discussion_r3734706359
##########
be/src/exec/scan/file_scanner.cpp:
##########
@@ -858,12 +856,26 @@ Status FileScanner::_convert_to_output_block(Block*
block) {
} else if (slot_desc->is_nullable()) {
column_ptr = make_nullable(column_ptr);
}
- mutable_output_columns[j]->insert_range_from(*column_ptr, 0, rows);
+ DORIS_CHECK_EQ(column_ptr->size(), rows);
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]