Amazon SageMaker Unified Studio is in preview release and is subject to change.
Create row filters in Amazon SageMaker Unified Studio
Amazon SageMaker Unified Studio allows you to create row filters that you can use when approving subscriptions to make sure that the subscriber can only access rows of data as defined in the row filters. To create a row filter, follow the steps below:
-
Navigate to Amazon SageMaker Unified Studio using the URL from your admin and log in using your SSO or AWS credentials.
-
Choose Select project from the top navigation pane and select the project to which the asset belongs.
-
Under Project catalog in the left side navigation, choose Assets.
-
Make sure you are on the Inventory tab, then choose the name of the asset that you want to create a column filter for. You can add column filters if your data asset in Amazon SageMaker Unified Studio is of type AWS Glue table, Amazon Redshift table, or Amazon Redshift view. You are then brought to the asset details page.
-
On the asset detail page, go to the Asset filters tab and then choose Add asset filter.
-
Configure the following fields:
-
Name - the name of the filter
-
Description – the description of the filters
-
-
Under filter type, choose Row filter.
-
Under row filter expression, provide one or more expressions for row filter.
-
Choose a column from the Column dropdown.
-
Choose an operator from the Operator dropdown.
-
Enter a value in the Value field.
-
-
To add another condition to your filter expression, choose Add condition.
-
When using multiple conditions in the row filter expression, choose And or Or to link the conditions.
Select an option to indicate whether or not the filter contains sensitive values that you want to hide from approved subscribers.
-
Choose Create asset filter.