tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jihoon...@apache.org
Subject tajo git commit: TAJO-1907: Reduce the size of the INDEXES table's COLUMN_NAMES field.
Date Wed, 07 Oct 2015 07:05:22 GMT
Repository: tajo
Updated Branches:
  refs/heads/master 6dc1c5557 -> 829d83ac5


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

Closes #800


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

Branch: refs/heads/master
Commit: 829d83ac5d0796e5d56a264817d9dd434dc4c52c
Parents: 6dc1c55
Author: Jihoon Son <jihoonson@apache.org>
Authored: Wed Oct 7 16:04:48 2015 +0900
Committer: Jihoon Son <jihoonson@apache.org>
Committed: Wed Oct 7 16:04:48 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/829d83ac/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 90ad1cb..5e82033 100644
--- a/CHANGES
+++ b/CHANGES
@@ -28,6 +28,9 @@ Release 0.12.0 - unreleased
 
   TASKS
 
+    TAJO-1907: Reduce the size of the INDEXES table's COLUMN_NAMES field.
+    (jihoon)
+
     TAJO-1908: Add a link to the nightly build version to the download page.
     (jihoon)
 

http://git-wip-us.apache.org/repos/asf/tajo/blob/829d83ac/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/829d83ac/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/829d83ac/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/829d83ac/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/829d83ac/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


Mime
View raw message