.show table policy retention command
Display the table's retention policy. The retention policy controls the mechanism that automatically removes data from tables or materialized views. It's used to remove data whose relevance is age-based. The retention policy can be configured for a specific table or materialized view, or for an entire database. The policy then applies to all tables in the database that don't override it.
You must have at least Database User, Database Viewer, or Database Monitor permissions to run this command. For more information, see role-based access control.
Learn more about syntax conventions.
|TableName||string||✓||The name of the table for which to show the policy details.|
Returns a JSON representation of the policy.
Displays a retention policy:
.show table Table1 policy retention