You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched in the issues and found nothing similar.
Motivation
Currently, the default configuration of auto-partitioning is not out-of-box and usually has to be configured manually. The current default configuration:
table.auto-partition.enabled= false
table.auto-partition.time-unit // no default value
table.auto-partition.num-precreate =4// too many unused partitions and buckets.
table.auto-partition.num-retention =-1// never expire
Solution
I suggest changing the default value for the configuration in this version to make it more handy for common cases.
table.auto-partition.enabled= false // no change
table.auto-partition.time-unit = day // most cases are daily partitions
table.auto-partition.num-precreate =2// one partition for today, and precreate tomorrow is enough
table.auto-partition.num-retention =7// to be align with "table.log.ttl"
Anything else?
Some existing tests will fail after changing default values, we need to fix the tests.
Willingness to contribute
I'm willing to submit a PR!
The text was updated successfully, but these errors were encountered:
@wuchong Could you assign this task to me?
I made a quick PR #470 which just modify the default value of those configurations. I will fix related tests these days.
Search before asking
Motivation
Currently, the default configuration of auto-partitioning is not out-of-box and usually has to be configured manually. The current default configuration:
Solution
I suggest changing the default value for the configuration in this version to make it more handy for common cases.
Anything else?
Some existing tests will fail after changing default values, we need to fix the tests.
Willingness to contribute
The text was updated successfully, but these errors were encountered: