This is an automated email from the ASF dual-hosted git repository.
jialiang pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new a8df589f85 AMBARI-26273: Add Oceanbase Support to Ambari MySQL DDL
#3921
a8df589f85 is described below
commit a8df589f8570a57f685bde1b653eb01d8953214b
Author: tongxiaojun <[email protected]>
AuthorDate: Fri Jan 3 13:58:44 2025 +0800
AMBARI-26273: Add Oceanbase Support to Ambari MySQL DDL #3921
Co-authored-by: tongxiaojun <[email protected]>
---
ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
b/ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
index 26e5f2467d..4d623e296f 100644
--- a/ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
+++ b/ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
@@ -246,7 +246,7 @@ CREATE TABLE servicecomponentdesiredstate (
cluster_id BIGINT NOT NULL,
desired_repo_version_id BIGINT NOT NULL,
desired_state VARCHAR(255) NOT NULL,
- service_name VARCHAR(100) NOT NULL,
+ service_name VARCHAR(255) NOT NULL,
recovery_enabled SMALLINT NOT NULL DEFAULT 0,
repo_state VARCHAR(255) NOT NULL DEFAULT 'NOT_REQUIRED',
CONSTRAINT pk_sc_desiredstate PRIMARY KEY (id),
@@ -260,7 +260,7 @@ CREATE TABLE hostcomponentdesiredstate (
component_name VARCHAR(100) NOT NULL,
desired_state VARCHAR(255) NOT NULL,
host_id BIGINT NOT NULL,
- service_name VARCHAR(100) NOT NULL,
+ service_name VARCHAR(255) NOT NULL,
admin_state VARCHAR(32),
maintenance_state VARCHAR(32) NOT NULL DEFAULT 'ACTIVE',
blueprint_provisioning_state VARCHAR(255) DEFAULT 'NONE',
@@ -279,7 +279,7 @@ CREATE TABLE hostcomponentstate (
current_state VARCHAR(255) NOT NULL,
last_live_state VARCHAR(255) NOT NULL DEFAULT 'UNKNOWN',
host_id BIGINT NOT NULL,
- service_name VARCHAR(100) NOT NULL,
+ service_name VARCHAR(255) NOT NULL,
upgrade_state VARCHAR(32) NOT NULL DEFAULT 'NONE',
CONSTRAINT pk_hostcomponentstate PRIMARY KEY (id),
CONSTRAINT FK_hostcomponentstate_host_id FOREIGN KEY (host_id) REFERENCES
hosts (host_id),
@@ -626,7 +626,7 @@ CREATE TABLE hostgroup_configuration (
CONSTRAINT FK_hg_cfg_bp_hg_name FOREIGN KEY (blueprint_name, hostgroup_name)
REFERENCES hostgroup (blueprint_name, name));
CREATE TABLE viewmain (
- view_name VARCHAR(255) NOT NULL,
+ view_name VARCHAR(100) NOT NULL,
label VARCHAR(255),
description VARCHAR(2048),
version VARCHAR(255),
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]