sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sra...@apache.org
Subject git commit: SENTRY-258: Increase field PRIVILEGE_NAME to 4000 characters to enable long URIs( Jarek Jarcec Cecho via Sravya Tirukkovalur)
Date Sat, 07 Jun 2014 00:21:07 GMT
Repository: incubator-sentry
Updated Branches:
  refs/heads/master cdc25da32 -> 7598d6829


SENTRY-258: Increase field PRIVILEGE_NAME to 4000 characters to enable long URIs( Jarek Jarcec
Cecho via Sravya Tirukkovalur)


Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/7598d682
Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/7598d682
Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/7598d682

Branch: refs/heads/master
Commit: 7598d6829ef590f8f026c4a64e3cc3ef46c384d5
Parents: cdc25da
Author: Sravya Tirukkovalur <sravya@clouera.com>
Authored: Fri Jun 6 17:20:31 2014 -0700
Committer: Sravya Tirukkovalur <sravya@clouera.com>
Committed: Fri Jun 6 17:20:31 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/sentry/provider/db/service/model/package.jdo   | 2 +-
 .../sentry-provider-db/src/main/resources/sentry-derby-1.4.0.sql   | 2 +-
 .../sentry-provider-db/src/main/resources/sentry-oracle-1.4.0.sql  | 2 +-
 .../src/main/resources/sentry-postgres-1.4.0.sql                   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/7598d682/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/model/package.jdo
----------------------------------------------------------------------
diff --git a/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/model/package.jdo
b/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/model/package.jdo
index 52e5026..dc16772 100644
--- a/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/model/package.jdo
+++ b/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/model/package.jdo
@@ -88,7 +88,7 @@
         <column name="DB_PRIVILEGE_ID"/>
       </datastore-identity>
       <field name="privilegeName">  
-        <column name="PRIVILEGE_NAME" length="128" jdbc-type="VARCHAR"/>
+        <column name="PRIVILEGE_NAME" length="4000" jdbc-type="VARCHAR"/>
         <index name="SentryPrivilegeName" unique="true"/>
       </field>
       <field name="privilegeScope">  

http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/7598d682/sentry-provider/sentry-provider-db/src/main/resources/sentry-derby-1.4.0.sql
----------------------------------------------------------------------
diff --git a/sentry-provider/sentry-provider-db/src/main/resources/sentry-derby-1.4.0.sql
b/sentry-provider/sentry-provider-db/src/main/resources/sentry-derby-1.4.0.sql
index b48d028..f2a62d2 100644
--- a/sentry-provider/sentry-provider-db/src/main/resources/sentry-derby-1.4.0.sql
+++ b/sentry-provider/sentry-provider-db/src/main/resources/sentry-derby-1.4.0.sql
@@ -22,7 +22,7 @@ CREATE TABLE SENTRY_DB_PRIVILEGE
     CREATE_TIME BIGINT NOT NULL,
     DB_NAME VARCHAR(4000),
     GRANTOR_PRINCIPAL VARCHAR(4000),
-    PRIVILEGE_NAME VARCHAR(128),
+    PRIVILEGE_NAME VARCHAR(4000),
     PRIVILEGE_SCOPE VARCHAR(40),
     "SERVER_NAME" VARCHAR(4000),
     "TABLE_NAME" VARCHAR(4000)

http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/7598d682/sentry-provider/sentry-provider-db/src/main/resources/sentry-oracle-1.4.0.sql
----------------------------------------------------------------------
diff --git a/sentry-provider/sentry-provider-db/src/main/resources/sentry-oracle-1.4.0.sql
b/sentry-provider/sentry-provider-db/src/main/resources/sentry-oracle-1.4.0.sql
index 8029652..8cccc5a 100644
--- a/sentry-provider/sentry-provider-db/src/main/resources/sentry-oracle-1.4.0.sql
+++ b/sentry-provider/sentry-provider-db/src/main/resources/sentry-oracle-1.4.0.sql
@@ -15,7 +15,7 @@
 
 CREATE TABLE "SENTRY_DB_PRIVILEGE" (
   "DB_PRIVILEGE_ID" NUMBER NOT NULL,
-  "PRIVILEGE_NAME" VARCHAR2(128) NOT NULL,
+  "PRIVILEGE_NAME" VARCHAR2(4000) NOT NULL,
   "PRIVILEGE_SCOPE" VARCHAR2(32) NOT NULL,
   "SERVER_NAME" VARCHAR2(128) NOT NULL,
   "DB_NAME" VARCHAR2(128) NULL,

http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/7598d682/sentry-provider/sentry-provider-db/src/main/resources/sentry-postgres-1.4.0.sql
----------------------------------------------------------------------
diff --git a/sentry-provider/sentry-provider-db/src/main/resources/sentry-postgres-1.4.0.sql
b/sentry-provider/sentry-provider-db/src/main/resources/sentry-postgres-1.4.0.sql
index 1b3175d..79b5234 100644
--- a/sentry-provider/sentry-provider-db/src/main/resources/sentry-postgres-1.4.0.sql
+++ b/sentry-provider/sentry-provider-db/src/main/resources/sentry-postgres-1.4.0.sql
@@ -27,7 +27,7 @@ SET default_with_oids = false;
 
 CREATE TABLE "SENTRY_DB_PRIVILEGE" (
   "DB_PRIVILEGE_ID" BIGINT NOT NULL,
-  "PRIVILEGE_NAME" character varying(128) NOT NULL,
+  "PRIVILEGE_NAME" character varying(4000) NOT NULL,
   "PRIVILEGE_SCOPE" character varying(32) NOT NULL,
   "SERVER_NAME" character varying(128) NOT NULL,
   "DB_NAME" character varying(128) DEFAULT NULL::character varying,


Mime
View raw message