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


Ship it!




Ship It!

- Madhan Neethiraj


On July 2, 2018, 7:16 p.m., Abhay Kulkarni wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/67799/
> -----------------------------------------------------------
> 
> (Updated July 2, 2018, 7:16 p.m.)
> 
> 
> Review request for ranger and Madhan Neethiraj.
> 
> 
> Bugs: RANGER-2146
>     https://issues.apache.org/jira/browse/RANGER-2146
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> As a part of tagsync updates for handling Atlas V2 APIs, a regression was 
> introduced which set tag attribute type to an empty string when creating 
> service-tags structure from a AtlasEntityNotification object. When saving 
> attribute-definition to Oracle DB, this empty string tag was treated as a 
> null, which caused the database insert to fail (type column is defined as 
> non-null field in schema for x_tag_attr_def table).
> 
> As tag attribute type values are uninterpreted in Ranger, it is safe to set 
> attribute type to 'string' instead of to an empty string.
> 
> 
> Diffs
> -----
> 
>   
> tagsync/src/main/java/org/apache/ranger/tagsync/source/atlasrest/RangerAtlasEntityWithTags.java
>  c31c73c9f 
> 
> 
> Diff: https://reviews.apache.org/r/67799/diff/1/
> 
> 
> Testing
> -------
> 
> Ran all unit tests successfully
> 
> 
> Thanks,
> 
> Abhay Kulkarni
> 
>

Reply via email to