fix bug of using MTL for tenant 500

This commit is contained in:
wanyue-wy
2024-09-18 07:07:00 +00:00
committed by ob-robot
parent f91c51797c
commit e1d98420f5
35 changed files with 588 additions and 174 deletions

View File

@ -1229,7 +1229,7 @@ int ObWindowFunctionOp::init()
func_alloc.local_allocator_ = &local_allocator_;
int64_t prev_pushdown_pby_col_count = -1;
WFInfoFixedArray &wf_infos = *const_cast<WFInfoFixedArray *>(&MY_SPEC.wf_infos_);
if (OB_FAIL(ObChunkStoreUtil::alloc_dir_id(dir_id_))) {
if (OB_FAIL(ObChunkStoreUtil::alloc_dir_id(tenant_id, dir_id_))) {
LOG_WARN("failed to alloc dir id", K(ret));
} else if (OB_FAIL(curr_row_collect_values_.prepare_allocate(wf_infos.count()))) {
LOG_WARN("cur row collect values prepare allocate failed", K(ret));