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

Support for last_cache APIs in the influxdb3 CLI #25100

Closed
Tracked by #25091
hiltontj opened this issue Jun 25, 2024 · 0 comments · Fixed by #25168
Closed
Tracked by #25091

Support for last_cache APIs in the influxdb3 CLI #25100

hiltontj opened this issue Jun 25, 2024 · 0 comments · Fixed by #25168
Assignees
Labels

Comments

@hiltontj
Copy link
Contributor

hiltontj commented Jun 25, 2024

This issue follows #25099. Once the APIs to create and delete last caches have been supported in the influxdb3_client, we can add new CLI commands to utilize them with the influxdb3 binary. The CLI commands should reflect the behaviour of the APIs they target.

Creation

Last cache creation can be done with the following command:

influxdb3 last-cache create
  --db=foo
  --table=bar
  --name=bop
  --key-columns=col1,col2
  --val-columns=col3,col4
  --count=5

Deletion

Last cache deletion can be done with the following command:

influxdb3 last-cache delete
  --db=foo
  --table=bar
  --name=bop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant