diff --git a/src/share/parameter/ob_parameter_seed.ipp b/src/share/parameter/ob_parameter_seed.ipp index 1370f131da..602f3b8f0d 100644 --- a/src/share/parameter/ob_parameter_seed.ipp +++ b/src/share/parameter/ob_parameter_seed.ipp @@ -1277,9 +1277,6 @@ DEF_INT(_px_max_pipeline_depth, OB_CLUSTER_PARAMETER, "2", "[2,3]", "max parallel execution pipeline depth, " "range: [2,3]", ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE)); -DEF_BOOL(_enable_split_partition, OB_TENANT_PARAMETER, "False", - "specifies whether to use split partition function. The default value is False", - ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE)); // ssl DEF_BOOL(ssl_client_authentication, OB_CLUSTER_PARAMETER, "False", diff --git a/src/sql/resolver/ddl/ob_ddl_resolver.cpp b/src/sql/resolver/ddl/ob_ddl_resolver.cpp index 55e0771672..31c43700ce 100644 --- a/src/sql/resolver/ddl/ob_ddl_resolver.cpp +++ b/src/sql/resolver/ddl/ob_ddl_resolver.cpp @@ -6361,14 +6361,6 @@ int ObDDLResolver::get_enable_split_partition(const int64_t tenant_id, bool& ena if (OB_INVALID_TENANT_ID == tenant_id) { ret = OB_INVALID_ARGUMENT; LOG_WARN("tenant id is invalid", K(ret), K(tenant_id)); - } else { - omt::ObTenantConfigGuard tenant_config(TENANT_CONF(tenant_id)); - if (!tenant_config.is_valid()) { - ret = OB_ERR_UNEXPECTED; - LOG_WARN("failed to get tenant config", K(ret), K(tenant_id)); - } else { - enable_split_partition = tenant_config->_enable_split_partition; - } } return ret; }