[FEAT MERGE] Support external table

Co-authored-by: jingtaoye35 <1255153887@qq.com>
This commit is contained in:
wjhh2008
2023-04-29 15:11:49 +00:00
committed by ob-robot
parent ecb74a122c
commit 09ed904b58
164 changed files with 8074 additions and 667 deletions

View File

@ -195,6 +195,9 @@ int ObLogGranuleIterator::is_partition_gi(bool &partition_granule) const
LOG_WARN("failed to get sys variable px partition scan threshold", K(ret));
} else if (OB_FAIL(session_info->get_sys_variable(share::SYS_VAR__PX_MIN_GRANULES_PER_SLAVE, hash_partition_scan_hold))) {
LOG_WARN("failed to get sys variable px min granule per slave", K(ret));
} else if (is_used_by_external_table()) {
//external table only support block iter
partition_granule = false;
} else {
partition_granule = ObGranuleUtil::is_partition_granule_flag(gi_attri_flag_)
|| ObGranuleUtil::is_partition_granule(partition_count_, parallel_, partition_scan_hold, hash_partition_scan_hold, hash_part_);