[
https://issues.apache.org/jira/browse/RANGER-4933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896355#comment-17896355
]
Dineshkumar Yadav edited comment on RANGER-4933 at 11/7/24 3:11 PM:
--------------------------------------------------------------------
Hi [~radhikak], below changes are breaking for mysql
[https://github.com/apache/ranger/blob/master/security-admin/db/mysql/patches/075-add-validity_schedule-labels-keywords-in-x_gds_dataset.sql#L16]
can you please update patch with below solution will work
{code:java}
drop procedure if exists
add_validity_schedule_labels_keywords_in_x_gds_dataset();
change this to below
drop procedure if exists add_validity_schedule_labels_keywords_in_x_gds_dataset;
{code}
updated patch is attached :
0001-RANGER-4933-Ranger-API-to-Summary-View-of-DataShares.patch
CC [~rmani]
was (Author: dineshkumar-yadav):
Hi [~radhikak], below changes are breaking for mysql
[https://github.com/apache/ranger/blob/master/security-admin/db/mysql/patches/075-add-validity_schedule-labels-keywords-in-x_gds_dataset.sql#L16]
can you please update patch with below solution will work
{code:java}
drop procedure if exists
add_validity_schedule_labels_keywords_in_x_gds_dataset();
change this to below
drop procedure if exists add_validity_schedule_labels_keywords_in_x_gds_dataset;
{code}
updated patch is attached
CC [~rmani]
> Ranger API to Summary View of DataShares in GDS
> -----------------------------------------------
>
> Key: RANGER-4933
> URL: https://issues.apache.org/jira/browse/RANGER-4933
> Project: Ranger
> Issue Type: Improvement
> Components: Ranger
> Affects Versions: 3.0.0
> Reporter: Radhika Kundam
> Assignee: Radhika Kundam
> Priority: Major
> Fix For: 3.0.0
>
> Attachments:
> 0001-RANGER-4933-Ranger-API-to-Summary-View-of-DataShares.patch,
> SummaryView_Datashares_in_GDS_API_request_response.json
>
>
> Ranger API to Summary View of DataShares in a GDS
> Summary should have the following details.
> - DataShare
> - Number of Assets on the DataShare.
> - Created by and when details.
> - End of Support Date
> - Tags
> - Keywords
> - Number of external user which this DataShare is shared.
> A DataShare defined as - a Rager DataSet associated to a Ranger DataShare
> with resources ( iceberg tables) added to it. Each Ranger Dataset will have a
> policy for the Ranger DataSet and a policy item for a external user with
> permissions( READ for now) for sharing. To share the same Ranger Dataset with
> another external user, a policy item will be added to the new external user.
> *service/gds/dataset/summary* can be enhanced to provide the necessary info.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)