remove get_method array from query range extraction

This commit is contained in:
obdev
2023-04-23 08:05:50 +00:00
committed by ob-robot
parent 2485b4b1be
commit dce925b7f0
12 changed files with 401 additions and 858 deletions

View File

@ -1030,7 +1030,6 @@ int ObTableScanOp::prepare_single_scan_range(int64_t group_idx)
int ret = OB_SUCCESS;
ObQueryRangeArray key_ranges;
ObQueryRangeArray ss_key_ranges;
ObGetMethodArray get_method;
ObPhysicalPlanCtx *plan_ctx = GET_PHY_PLAN_CTX(ctx_);
ObIAllocator &range_allocator = (table_rescan_allocator_ != nullptr ?
*table_rescan_allocator_ : ctx_.get_allocator());
@ -1061,7 +1060,6 @@ int ObTableScanOp::prepare_single_scan_range(int64_t group_idx)
ctx_,
key_ranges,
MY_INPUT.mbr_filters_,
get_method,
ObBasicSessionInfo::create_dtc_params(ctx_.get_my_session())))) {
LOG_WARN("failed to extract pre query ranges", K(ret));
} else if (!MY_CTDEF.pre_query_range_.is_contain_geo_filters() &&
@ -1070,7 +1068,6 @@ int ObTableScanOp::prepare_single_scan_range(int64_t group_idx)
range_allocator,
ctx_,
key_ranges,
get_method,
ObBasicSessionInfo::create_dtc_params(ctx_.get_my_session())))) {
LOG_WARN("failed to extract pre query ranges", K(ret));
} else if (OB_FAIL(MY_CTDEF.pre_query_range_.get_ss_tablet_ranges(range_allocator,