[FEAT MERGE] inc direct load phase2

Co-authored-by: suz-yang <suz.yang@foxmail.com>
Co-authored-by: fkuner <784819644@qq.com>
Co-authored-by: shadowao <aozeliu@qq.com>
This commit is contained in:
coolfishchen
2024-06-19 09:19:57 +00:00
committed by ob-robot
parent 2a4fd5983e
commit 1f2f6669a5
56 changed files with 2978 additions and 772 deletions

View File

@ -1920,9 +1920,12 @@ int ObLoadDataDirectImpl::init_execute_param()
: ObDirectLoadMethod::FULL);
execute_param_.insert_mode_ = ObDirectLoadInsertMode::NORMAL;
if (OB_UNLIKELY(direct_load_hint.is_inc_load_method())) {
ret = OB_NOT_SUPPORTED;
LOG_WARN("inc load method not supported", KR(ret), K(direct_load_hint));
LOG_USER_ERROR(OB_NOT_SUPPORTED, "inc load method in direct load is");
if (OB_UNLIKELY(ObLoadDupActionType::LOAD_REPLACE == load_args.dupl_action_)) {
ret = OB_NOT_SUPPORTED;
LOG_WARN("replace for inc load method not supported", KR(ret),
K(direct_load_hint), K(load_args.dupl_action_));
LOG_USER_ERROR(OB_NOT_SUPPORTED, "replace for inc load method in direct load is");
}
} else if (direct_load_hint.is_inc_replace_load_method()) {
if (OB_UNLIKELY(ObLoadDupActionType::LOAD_STOP_ON_DUP != load_args.dupl_action_)) {
ret = OB_NOT_SUPPORTED;