matrixorigin / matrixone

Hyperconverged cloud-edge native database
https://docs.matrixorigin.cn/en
Apache License 2.0
1.79k stars 276 forks source link

[Feature Request]: retention period of a table #11478

Closed fengttt closed 2 weeks ago

fengttt commented 1 year ago

Is there an existing issue for the same feature request?

Is your feature request related to a problem?

For streaming/time series use case, for example,

create table ... with retention period 3 months.

Describe the feature you'd like

create table ... with retention period 3 months.

Describe implementation you've considered

No response

Documentation, Adoption, Use Case, Migration Strategy

No response

Additional information

No response

domingozhang commented 1 year ago

CREATE TABLE table_name (create_definition,...) [table_options] [partition_options] with retention period n days

n is an int unsinged value

w-zr commented 2 months ago

PR merged.

Ariznawlll commented 1 month ago

test done