Before adapting the new functions to the DDL-related format of SSTable, temporarily roll back the related optimizations

This commit is contained in:
wudidapaopao
2023-12-26 06:13:30 +00:00
committed by ob-robot
parent 90856cda21
commit d34cf94132
2 changed files with 3 additions and 2 deletions

View File

@ -455,7 +455,7 @@ private:
class ObDASDMLIterator : public common::ObNewRowIterator
{
public:
static const int64_t DEFAULT_BATCH_SIZE = 256;
static const int64_t DEFAULT_BATCH_SIZE = 1;
public:
ObDASDMLIterator(const ObDASDMLBaseCtDef *das_ctdef,
ObDASWriteBuffer &write_buffer,

View File

@ -475,7 +475,8 @@ bool ObSSTableRowScanner<ObCOPrefetcher>::can_blockscan() const
{
return is_scan(type_) &&
nullptr != block_row_store_ &&
prefetcher_.switch_to_columnar_scan();
prefetcher_.switch_to_columnar_scan() &&
!sstable_->is_ddl_merge_sstable();
}
template<>