Skip to main content
Early access Since 2.10.0 Alter refresh, , or data retention policies on a . The altered and retention policies apply to the , not to the original .

Samples

Given a named example_continuous_aggregate with an existing policy, alter the policy to compress data older than 16 days:

Arguments

The syntax is:
For arguments that could be either an INTERVAL or an INTEGER, use an INTERVAL if your time bucket is based on timestamps. Use an INTEGER if your time bucket is based on integers.

Returns

Returns true if successful.