You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sentry.apache.org by Vamsee Yarlagadda <va...@cloudera.com> on 2017/09/01 22:26:54 UTC

Review Request 62044: SENTRY-1913: Incorrect constraints on AUTHZ_PATHS_MAPPING.AUTHZ_OBJ_NAME

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62044/
-----------------------------------------------------------

Review request for sentry, Alexander Kolbasov, Na Li, and Sergio Pena.


Repository: sentry


Description
-------

SENTRY-1913: Incorrect constraints on AUTHZ_PATHS_MAPPING.AUTHZ_OBJ_NAME

* Adds NOT NULL constraint on AUTHZ_OBJ_NAME
* Creates a multiple unique index on fields AUTHZ_OBJ_NAME, AUTHZ_SNAPSHOT_ID


Diffs
-----

  sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/model/package.jdo 59f68263deb1df050daa82eb0c2374943a55d743 
  sentry-provider/sentry-provider-db/src/main/resources/007-SENTRY-1365.derby.sql d738230a2723cca8b89ca4382e59d59ba063b1d9 
  sentry-provider/sentry-provider-db/src/main/resources/007-SENTRY-1365.mysql.sql 84eac33b40f4a565010c5e9686bc3869028f2b96 
  sentry-provider/sentry-provider-db/src/main/resources/007-SENTRY-1365.oracle.sql d7d9679cf29e79610d96bc75b0607b693a1a7c26 
  sentry-provider/sentry-provider-db/src/main/resources/007-SENTRY-1365.postgres.sql cf961f3b7458c159262eaf63dfc148923a5562e5 
  sentry-provider/sentry-provider-db/src/main/resources/sentry-db2-2.0.0.sql 93d6e7039e5b00e39933cd7ad46228192ae46ef7 
  sentry-provider/sentry-provider-db/src/main/resources/sentry-derby-2.0.0.sql b4e39fd123a3da3b5775c08c90cd61473e6accbb 
  sentry-provider/sentry-provider-db/src/main/resources/sentry-mysql-2.0.0.sql 4326a3877a93511d49201aec1bd6023951ca5ab8 
  sentry-provider/sentry-provider-db/src/main/resources/sentry-oracle-2.0.0.sql 92676a5d130d46d5422d969cad26f9a2aeafbd76 
  sentry-provider/sentry-provider-db/src/main/resources/sentry-postgres-2.0.0.sql 05eb7513375a110852a5038c2244fd75a8521f5f 


Diff: https://reviews.apache.org/r/62044/diff/1/


Testing
-------

Pre-commit tests in progress.


Thanks,

Vamsee Yarlagadda


Re: Review Request 62044: SENTRY-1913: Incorrect constraints on AUTHZ_PATHS_MAPPING.AUTHZ_OBJ_NAME

Posted by Alexander Kolbasov <ak...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62044/#review184402
-----------------------------------------------------------


Ship it!




Ship It!

- Alexander Kolbasov


On Sept. 1, 2017, 10:26 p.m., Vamsee Yarlagadda wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62044/
> -----------------------------------------------------------
> 
> (Updated Sept. 1, 2017, 10:26 p.m.)
> 
> 
> Review request for sentry, Alexander Kolbasov, Na Li, and Sergio Pena.
> 
> 
> Repository: sentry
> 
> 
> Description
> -------
> 
> SENTRY-1913: Incorrect constraints on AUTHZ_PATHS_MAPPING.AUTHZ_OBJ_NAME
> 
> * Adds NOT NULL constraint on AUTHZ_OBJ_NAME
> * Creates a multiple unique index on fields AUTHZ_OBJ_NAME, AUTHZ_SNAPSHOT_ID
> 
> 
> Diffs
> -----
> 
>   sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/model/package.jdo 59f68263deb1df050daa82eb0c2374943a55d743 
>   sentry-provider/sentry-provider-db/src/main/resources/007-SENTRY-1365.derby.sql d738230a2723cca8b89ca4382e59d59ba063b1d9 
>   sentry-provider/sentry-provider-db/src/main/resources/007-SENTRY-1365.mysql.sql 84eac33b40f4a565010c5e9686bc3869028f2b96 
>   sentry-provider/sentry-provider-db/src/main/resources/007-SENTRY-1365.oracle.sql d7d9679cf29e79610d96bc75b0607b693a1a7c26 
>   sentry-provider/sentry-provider-db/src/main/resources/007-SENTRY-1365.postgres.sql cf961f3b7458c159262eaf63dfc148923a5562e5 
>   sentry-provider/sentry-provider-db/src/main/resources/sentry-db2-2.0.0.sql 93d6e7039e5b00e39933cd7ad46228192ae46ef7 
>   sentry-provider/sentry-provider-db/src/main/resources/sentry-derby-2.0.0.sql b4e39fd123a3da3b5775c08c90cd61473e6accbb 
>   sentry-provider/sentry-provider-db/src/main/resources/sentry-mysql-2.0.0.sql 4326a3877a93511d49201aec1bd6023951ca5ab8 
>   sentry-provider/sentry-provider-db/src/main/resources/sentry-oracle-2.0.0.sql 92676a5d130d46d5422d969cad26f9a2aeafbd76 
>   sentry-provider/sentry-provider-db/src/main/resources/sentry-postgres-2.0.0.sql 05eb7513375a110852a5038c2244fd75a8521f5f 
> 
> 
> Diff: https://reviews.apache.org/r/62044/diff/1/
> 
> 
> Testing
> -------
> 
> Pre-commit tests in progress.
> 
> 
> Thanks,
> 
> Vamsee Yarlagadda
> 
>