greptimedb icon indicating copy to clipboard operation
greptimedb copied to clipboard

Generate common partition rules

Open sunng87 opened this issue 7 months ago • 0 comments

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.

sunng87 avatar Jul 25 '25 05:07 sunng87