Repository: tajo Updated Branches: refs/heads/branch-0.10.1 c3b7d1354 -> b729a49c8
TAJO-1360: VALUES_ field in OPTIONS table of catalog store should be longer. Signed-off-by: JaeHwa Jung <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/tajo/repo Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/b729a49c Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/b729a49c Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/b729a49c Branch: refs/heads/branch-0.10.1 Commit: b729a49c821a874db8f432342c2c9fc83d537793 Parents: c3b7d13 Author: DaeMyung Kang <[email protected]> Authored: Fri Apr 3 11:38:57 2015 +0900 Committer: JaeHwa Jung <[email protected]> Committed: Fri Apr 3 11:38:57 2015 +0900 ---------------------------------------------------------------------- CHANGES | 3 +++ .../src/main/resources/schemas/derby/derby.xml | 2 +- .../src/main/resources/schemas/mariadb/table_properties.sql | 2 +- .../src/main/resources/schemas/mysql/table_properties.sql | 2 +- .../src/main/resources/schemas/oracle/oracle.xml | 2 +- .../src/main/resources/schemas/postgresql/postgresql.xml | 2 +- 6 files changed, 8 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tajo/blob/b729a49c/CHANGES ---------------------------------------------------------------------- diff --git a/CHANGES b/CHANGES index 9a46f68..3f7880e 100644 --- a/CHANGES +++ b/CHANGES @@ -24,6 +24,9 @@ Release 0.10.1 - unreleased BUG FIXES + TAJO-1360: VALUES_ field in OPTIONS table of catalog store should be longer. + (Contributed by DaeMyung Kang, Committed by jaehwa) + TAJO-1437: Resolve findbug warnings on Tajo JDBC Module. (Contributed by Dongjoon Hyun, Committed by jihoon) http://git-wip-us.apache.org/repos/asf/tajo/blob/b729a49c/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml ---------------------------------------------------------------------- diff --git a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml b/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml index db2473b..0815603 100644 --- a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml +++ b/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml @@ -86,7 +86,7 @@ CREATE TABLE OPTIONS ( TID INT NOT NULL REFERENCES TABLES (TID) ON DELETE CASCADE, KEY_ VARCHAR(255) NOT NULL, - VALUE_ VARCHAR(255) NOT NULL, + VALUE_ VARCHAR(4000) NOT NULL, CONSTRAINT C_OPTIONS_UNIQUE UNIQUE (TID, KEY_, VALUE_) )]]> </tns:sql> http://git-wip-us.apache.org/repos/asf/tajo/blob/b729a49c/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/table_properties.sql ---------------------------------------------------------------------- diff --git a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/table_properties.sql b/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/table_properties.sql index 7ce5362..b9a84e0 100644 --- a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/table_properties.sql +++ b/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/table_properties.sql @@ -1,7 +1,7 @@ CREATE TABLE OPTIONS ( TID INT NOT NULL, KEY_ VARCHAR(255) BINARY NOT NULL, - VALUE_ VARCHAR(255) NOT NULL, + VALUE_ VARCHAR(4000) NOT NULL, PRIMARY KEY (TID, KEY_), FOREIGN KEY (TID) REFERENCES TABLES (TID) ON DELETE CASCADE ) http://git-wip-us.apache.org/repos/asf/tajo/blob/b729a49c/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/table_properties.sql ---------------------------------------------------------------------- diff --git a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/table_properties.sql b/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/table_properties.sql index 7ce5362..b9a84e0 100644 --- a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/table_properties.sql +++ b/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/table_properties.sql @@ -1,7 +1,7 @@ CREATE TABLE OPTIONS ( TID INT NOT NULL, KEY_ VARCHAR(255) BINARY NOT NULL, - VALUE_ VARCHAR(255) NOT NULL, + VALUE_ VARCHAR(4000) NOT NULL, PRIMARY KEY (TID, KEY_), FOREIGN KEY (TID) REFERENCES TABLES (TID) ON DELETE CASCADE ) http://git-wip-us.apache.org/repos/asf/tajo/blob/b729a49c/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml ---------------------------------------------------------------------- diff --git a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml b/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml index 8945fca..633c88a 100644 --- a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml +++ b/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml @@ -129,7 +129,7 @@ CREATE TABLE OPTIONS ( TID INT NOT NULL, KEY_ VARCHAR2(255) NOT NULL, - VALUE_ VARCHAR2(255) NOT NULL, + VALUE_ VARCHAR2(4000) NOT NULL, CONSTRAINT OPTIONS_PKEY PRIMARY KEY (TID, KEY_), FOREIGN KEY (TID) REFERENCES TABLES (TID) ON DELETE CASCADE )]]> http://git-wip-us.apache.org/repos/asf/tajo/blob/b729a49c/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml ---------------------------------------------------------------------- diff --git a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml b/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml index 8e5cbcc..a67af52 100644 --- a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml +++ b/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml @@ -88,7 +88,7 @@ xsi:schemaLocation="http://tajo.apache.org/catalogstore ../DBMSSchemaDefinition. CREATE TABLE OPTIONS ( TID INT NOT NULL, KEY_ VARCHAR(255) NOT NULL, - VALUE_ VARCHAR(255) NOT NULL, + VALUE_ VARCHAR(4000) NOT NULL, CONSTRAINT OPTIONS_PKEY PRIMARY KEY (TID, KEY_), FOREIGN KEY (TID) REFERENCES TABLES (TID) ON DELETE CASCADE )]]>
