Skip to content

Commit

Permalink
Fix SQL example that does not work (github#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
charislam authored Apr 25, 2022
1 parent 6211491 commit 25229b1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ actively refreshed regions are not compressed. This is to prevent refresh
policies from failing. For example, consider a refresh policy like this:

```sql
SELECT add_continuous_aggregate_policy('cagg_name', start_offset=>'30 days', end_offset=>'1 day', '1 h');
SELECT add_continuous_aggregate_policy('cagg_name',
start_offset => INTERVAL '30 days',
end_offset => INTERVAL '1 day',
schedule_interval => INTERVAL '1 hour');
```

With this kind of refresh policy, the compression policy needs the `compress_after`
Expand Down

0 comments on commit 25229b1

Please sign in to comment.