Setting the Expiration Policy for Reflections
Rather than delete a reflection manually, you can specify how long you want Dremio to retain the reflection before deleting it automatically.
note:
Dremio does not allow expiration policies to be set on external reflections.
Procedures
To set the expiration policy for all reflections derived from tables in a data source:
- Right-click a data lake or external source.
- Select Edit Details.
- In the sidebar of the Edit Source window, click Reflection Refresh.
- After making your changes, click Save. The changes take effect on the next refresh.
To set the expiration policy on reflections derived from a particular table:
note:
The table must be based on more than one file.
- Locate a table.
- Click the gear icon to its right.
- In the sidebar of the Dataset Settings window, click Reflection Refresh.
- After making your changes, click Save. The changes take effect on the next refresh.