Commit 41460f84 authored by Leo Gordon's avatar Leo Gordon
Browse files

Schema change: changed the data type of monitor.analysis to TEXT as per...

Schema change: changed the data type of monitor.analysis to TEXT as per Michael Paulini's suggestion, to fit more and longer analysis names.
parent 75f332f1
-- Allow the monitor.analysis field to be arbitrarily long
-- to accommodate multiple long analysis names concatenated together
ALTER TABLE monitor MODIFY COLUMN analysis TEXT DEFAULT NULL;
-- UPDATE hive_sql_schema_version
UPDATE hive_meta SET meta_value=51 WHERE meta_key='hive_sql_schema_version' AND meta_value='50';
-- Allow the monitor.analysis field to be arbitrarily long
-- to accommodate multiple long analysis names concatenated together
ALTER TABLE monitor ALTER COLUMN analysis SET DATA TYPE TEXT;
-- UPDATE hive_sql_schema_version
UPDATE hive_meta SET meta_value=51 WHERE meta_key='hive_sql_schema_version' AND meta_value='50';
......@@ -584,7 +584,7 @@ CREATE TABLE monitor (
workers INTEGER NOT NULL DEFAULT 0,
throughput FLOAT DEFAULT NULL,
per_worker FLOAT DEFAULT NULL,
analysis VARCHAR(255) DEFAULT NULL -- not just one, but a list of logic_names
analysis TEXT DEFAULT NULL -- not just one, but a list of logic_names
) COLLATE=latin1_swedish_ci ENGINE=InnoDB;
......
......@@ -586,7 +586,7 @@ CREATE TABLE monitor (
workers INTEGER NOT NULL DEFAULT 0,
throughput FLOAT DEFAULT NULL,
per_worker FLOAT DEFAULT NULL,
analysis VARCHAR(255) DEFAULT NULL -- not just one, but a list of logic_names
analysis TEXT DEFAULT NULL -- not just one, but a list of logic_names
);
......
......@@ -573,7 +573,8 @@ CREATE TABLE monitor (
workers INTEGER NOT NULL DEFAULT 0,
throughput FLOAT DEFAULT NULL,
per_worker FLOAT DEFAULT NULL,
analysis VARCHAR(255) DEFAULT NULL -- not just one, but a list of logic_names
analysis TEXT DEFAULT NULL -- not just one, but a list of logic_names
);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment