Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix-3196] [datastudio] Data too long for column 'job_id'(varchar(50)) in table dinky_history #3200

Merged
merged 1 commit into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion script/sql/dinky-mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ CREATE TABLE `dinky_history` (
`cluster_id` int(11) NOT NULL DEFAULT 0 COMMENT 'cluster ID',
`cluster_configuration_id` int(11) NULL DEFAULT NULL COMMENT 'cluster configuration id',
`session` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'session',
`job_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'Job ID',
`job_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'Job ID',
`job_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'Job Name',
`job_manager_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'JJobManager Address',
`status` int(11) NOT NULL DEFAULT 0 COMMENT 'status',
Expand Down
2 changes: 1 addition & 1 deletion script/sql/dinky-pg.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2365,7 +2365,7 @@ CREATE TABLE dinky_history
cluster_id INT NOT NULL DEFAULT 0,
cluster_configuration_id INT NULL,
session VARCHAR(255) NULL,
job_id VARCHAR(50) NULL,
job_id VARCHAR(255) NULL,
job_name VARCHAR(255) NULL,
job_manager_address VARCHAR(255) NULL,
status INT NOT NULL DEFAULT 0,
Expand Down
4 changes: 4 additions & 0 deletions script/sql/upgrade/1.0.0_schema/mysql/dinky_ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -443,5 +443,9 @@ alter table dinky_database
alter table dinky_database
drop column password;

alter table dinky_history
modify job_id varchar(255) null comment 'Job ID';



SET FOREIGN_KEY_CHECKS = 1;
Loading