Repository: tajo
Updated Branches:
  refs/heads/branch-0.11.0 c54d27568 -> 87515a8a0


TAJO-1907: Reduce the size of the INDEXES table's COLUMN_NAMES field.


Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/87515a8a
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/87515a8a
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/87515a8a

Branch: refs/heads/branch-0.11.0
Commit: 87515a8a095b3db91d59b5ab844a03a8198e4e80
Parents: c54d275
Author: Jihoon Son <[email protected]>
Authored: Wed Oct 7 16:06:25 2015 +0900
Committer: Jihoon Son <[email protected]>
Committed: Wed Oct 7 16:06:25 2015 +0900

----------------------------------------------------------------------
 CHANGES                                                           | 3 +++
 .../src/main/resources/schemas/derby/derby.xml                    | 2 +-
 .../src/main/resources/schemas/mariadb/mariadb.xml                | 2 +-
 .../src/main/resources/schemas/mysql/mysql.xml                    | 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/87515a8a/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 0355cc9..07f8b13 100644
--- a/CHANGES
+++ b/CHANGES
@@ -593,6 +593,9 @@ Release 0.11.0 - unreleased
   
   TASKS
 
+    TAJO-1907: Reduce the size of the INDEXES table's COLUMN_NAMES field.
+    (jihoon)
+
     TAJO-1914: Remove imports of guava library of facebook. (jihoon)
 
     TAJO-1872: Increase the minimum split size and add a classpath to hadoop

http://git-wip-us.apache.org/repos/asf/tajo/blob/87515a8a/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 ff0b20b..96100e8 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
@@ -125,7 +125,7 @@
                                        INDEX_NAME VARCHAR(128) NOT NULL,
                                        INDEX_TYPE CHAR(32) NOT NULL,
                                        PATH VARCHAR(4096),
-                                       COLUMN_NAMES VARCHAR(128) NOT NULL, -- 
array of column names
+                                       COLUMN_NAMES VARCHAR(255) NOT NULL, -- 
array of column names
                                        DATA_TYPES VARCHAR(128) NOT NULL, -- 
array of column types
                                        ORDERS VARCHAR(128) NOT NULL, -- array 
of column orders
                                        NULL_ORDERS VARCHAR(128) NOT NULL, -- 
array of null orderings

http://git-wip-us.apache.org/repos/asf/tajo/blob/87515a8a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml
----------------------------------------------------------------------
diff --git 
a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml
 
b/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml
index dbf82b6..a94489d 100644
--- 
a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml
+++ 
b/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml
@@ -114,7 +114,7 @@
           INDEX_NAME VARCHAR(128) NOT NULL,
           INDEX_TYPE CHAR(32) BINARY NOT NULL,
           PATH VARCHAR(4096) NOT NULL,
-          COLUMN_NAMES VARCHAR(256) NOT NULL, -- array of column names
+          COLUMN_NAMES VARCHAR(255) NOT NULL, -- array of column names
           DATA_TYPES VARCHAR(128) NOT NULL, -- array of column types
           ORDERS VARCHAR(128) NOT NULL, -- array of column orders
           NULL_ORDERS VARCHAR(128) NOT NULL, -- array of null orderings

http://git-wip-us.apache.org/repos/asf/tajo/blob/87515a8a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml
----------------------------------------------------------------------
diff --git 
a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml 
b/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml
index 59ceae4..c0dadaa 100644
--- 
a/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml
+++ 
b/tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml
@@ -115,7 +115,7 @@
           INDEX_NAME VARCHAR(128) NOT NULL,
           INDEX_TYPE CHAR(32) BINARY NOT NULL,
           PATH VARCHAR(4096) NOT NULL,
-          COLUMN_NAMES VARCHAR(256) NOT NULL, -- array of column names
+          COLUMN_NAMES VARCHAR(255) NOT NULL, -- array of column names
           DATA_TYPES VARCHAR(128) NOT NULL, -- array of column types
           ORDERS VARCHAR(128) NOT NULL, -- array of column orders
           NULL_ORDERS VARCHAR(128) NOT NULL, -- array of null orderings

http://git-wip-us.apache.org/repos/asf/tajo/blob/87515a8a/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 b61778a..190270c 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
@@ -167,7 +167,7 @@
                                INDEX_NAME VARCHAR2(128) NOT NULL,
                                INDEX_TYPE CHAR(32) NOT NULL,
                                PATH VARCHAR(4096) NOT NULL,
-                               COLUMN_NAMES VARCHAR(256) NOT NULL, -- array of 
column names
+                               COLUMN_NAMES VARCHAR(255) NOT NULL, -- array of 
column names
                                DATA_TYPES VARCHAR(128) NOT NULL, -- array of 
column types
                                ORDERS VARCHAR(128) NOT NULL, -- array of 
column orders
                                NULL_ORDERS VARCHAR(128) NOT NULL, -- array of 
null orderings

http://git-wip-us.apache.org/repos/asf/tajo/blob/87515a8a/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 90449c1..33a1fd2 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
@@ -127,7 +127,7 @@ xsi:schemaLocation="http://tajo.apache.org/catalogstore 
../DBMSSchemaDefinition.
                                        INDEX_NAME VARCHAR(128) NOT NULL,
                                        INDEX_TYPE CHAR(32) NOT NULL,
                                        PATH VARCHAR(4096) NOT NULL,
-                                       COLUMN_NAMES VARCHAR(256) NOT NULL, -- 
array of column names
+                                       COLUMN_NAMES VARCHAR(255) NOT NULL, -- 
array of column names
                                        DATA_TYPES VARCHAR(128) NOT NULL, -- 
array of column types
                                        ORDERS VARCHAR(128) NOT NULL, -- array 
of column orders
                                        NULL_ORDERS VARCHAR(128) NOT NULL, -- 
array of null orderings

Reply via email to