[Fix](inverted index) gc TEMP colum when next_batch in segment iterator (#40563)
## Proposed changes Issue Number: close #xxx <!--Describe your changes.-->
This commit is contained in:
@ -2352,6 +2352,8 @@ Status SegmentIterator::copy_column_data_by_selector(vectorized::IColumn* input_
|
||||
}
|
||||
|
||||
Status SegmentIterator::_next_batch_internal(vectorized::Block* block) {
|
||||
// TEMP column in block is not allowed here, need to erase.
|
||||
block->erase_tmp_columns();
|
||||
bool is_mem_reuse = block->mem_reuse();
|
||||
DCHECK(is_mem_reuse);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user