greptimedb
greptimedb copied to clipboard
Generate common partition rules
What type of enhancement is this?
API improvement
What does the enhancement do?
Provide a function to generate our partition rules so we won't have to write it manually.
We can start from a rust function and add UI for it later.
The function will take:
- column
- possible range
- partition number
- manually specified stops (options)
Implementation challenges
We can start from single column but in realworld it has to support at least two columns or even more.