Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InfluxQL new syntax: FUTURE LIMIT and PAST LIMIT #5683

Open
davidby-influx opened this issue Nov 16, 2024 · 0 comments
Open

InfluxQL new syntax: FUTURE LIMIT and PAST LIMIT #5683

davidby-influx opened this issue Nov 16, 2024 · 0 comments

Comments

@davidby-influx
Copy link

In the 1.x line (Enterprise and OSS), a new feature has been added which required changes to InfluxQL syntax.

There are two new reserved words, FUTURE and PAST, which are used in specifying write windows for retention periods.

Write windows prevent writes into a retention policy outside of optional future and past limits. These are specified as durations and are added and subtracted from now when determining a whether write is permitted, even if it is within the bounds of the retention policy.

If write limits are not specified, the default is current behavior (no write limits).
A write limit of 0 is treated is if there were no limit (this is how to remove a limit with an ALTER RETENTION statement)

Relevant URLs

influxdata/influxql#72
https://github.com/influxdata/plutonium/pull/4200
influxdata/influxdb#25424
influxdata/influxdb#25517
Somewhat outdated:
https://github.com/influxdata/plutonium/issues/3005
https://github.com/influxdata/feature-requests/issues/258
https://github.com/influxdata/feature-requests/issues/258

Will be released in
InfluxDB 1.12.0 OSS and Enterprise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant