[CP] change error message for non-direct load data

This commit is contained in:
obdev 2024-04-08 13:09:49 +00:00 committed by ob-robot
parent a06dc6b42b
commit 766a7c6c3c

View File

@ -57,6 +57,9 @@ int ObLoadDataExecutor::execute(ObExecContext &ctx, ObLoadDataStmt &stmt)
if (OB_ISNULL(load_impl = OB_NEWx(ObLoadDataSPImpl, (&ctx.get_allocator())))) {
ret = OB_ALLOCATE_MEMORY_FAILED;
LOG_WARN("allocate memory failed", K(ret));
} else if (OB_UNLIKELY(stmt.get_load_arguments().file_iter_.count() > 1)) {
ret = OB_NOT_SUPPORTED;
LOG_WARN("not support multiple files", K(ret));
}
} else {
if (OB_ISNULL(load_impl = OB_NEWx(ObLoadDataDirectImpl, (&ctx.get_allocator())))) {