influxdata / influxdata/influx-cli

not implemented: CREATE RETENTION POLICY

Open
#478 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
75
Forks
22
PR merge metrics
No merged PRs in 30d

Description

I am trying to create a retention policy on a bucket using the command
`CREATE RETENTION POLICY "2year" ON "bucketname" DURATION 94w REPLICATION 1;`
but I get this error

`Error: not implemented: CREATE RETENTION POLICY`

if i pass some invalid arguments shell tells me there is an issue with the command but when it seems correct it doesn't work at all.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Reproduce the shown CREATE RETENTION POLICY command, then trace how the CLI handles it and compare that with its invalid-argument behavior. Done means valid retention-policy commands are supported while malformed arguments still produce validation errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.