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
No native TTL clause exists for automatically expiring old rows/partitions. This is important for high-volume, short-lived data (logs / traces / metrics) where you want cheap automatic retention instead of expensive DELETEs.
Request
Support a native TTL clause (time-based row/partition expiry).
Found while evaluating MatrixOne git4data / SQL as a data-versioning & agent-trace backend. Version: 8.0.30-MatrixOne-v3.0.11 (MatrixOne v3.0.11).
Testing background
Found while evaluating MatrixOne as a high-volume trace / telemetry backend: such data is short-lived (days to weeks) and needs cheap automatic retention rather than expensive periodic DELETEs.
Why it matters (expected purpose)
Native TTL (time-based row/partition expiry) is essential for observability / log / trace workloads to bound storage cost automatically. Today retention must be done with manual deletes or external schedulers.
QA follow-up for PR #30072 at exact head 13780b807a0a92fa1580edbeac04656132c95199 (base merge 75ae9a79d626622e6ccec0bcb28412f5fcf84c7f):
The new review reports a P2 metadata replay defect: after ALTER TABLE adds, modifies, or removes TTL, DUMP TABLE ... METADATA ONLY produces a manifest whose create_sql reflects the original TTL while its schema hash reflects the current schema. Recreating from that manifest and loading the dump then fails with “target table schema does not match table dump.” The review reports reproducing all three mutations through the MySQL entry point; unchanged TTL passed, and replaying current SHOW CREATE output succeeded.
This is a review-reported reproduction, not a test I ran in this workspace. The PR's author reports parser/planner/TTL suites and native TTL integration passing after the rebase; those reports do not cover this new dump/load counterexample. Current exact-head combined status is empty; the returned Iceberg E2E workflow is unrelated to TTL. Please update the dump replay DDL owner when TTL policy metadata changes and add public SQL dump/load regressions for add, modify, and remove.
The issue remains open and its existing assignee is unchanged. Next verification: run the three dump/load cases against the merged head, including unchanged TTL control and populated-data restore.
PR head 8cb32856c905b9a0cbfcac0ad65f506c575c9cd7 adds a shared reconstruction path for manifest create_sql, using current table metadata like the schema-hash owner, and a public SQL integration test covering unchanged/add/modify/remove TTL across metadata-only and populated dumps (8 cases). This addresses the previously recorded ALTER-TTL replay mismatch at the code/test level; the regression test recreates only from the manifest's own create_sql, then LOADs the dump.
The repository's new evidence bundle reports the six mutation cases failing on the unfixed production baseline and all eight passing after the correction. I inspected the new implementation, integration test, and evidence manifest, but did not execute Go/SQL locally: this workspace has no MatrixOne checkout and go is unavailable. Therefore this is not independent runtime validation, and I am not handing the broad #24552 feature to testing yet.
Issue #24552 remains open with its existing assignee. The PR also states that its separate syntax/visibility/performance discussion is unchanged; those broader acceptance and deployment/performance checks remain outstanding. Recheck the exact new head with the relevant native suites and maintainer review before tester handoff.
Activity
fix(parser): escape TTL option strings and strengthen tests (matrixor…
test(parser): cover TTL option Free paths to satisfy diff coverage (m…
LeftHandCold commentedon Sep 1, 2026
Currently undergoing stable, long-term testing; awaiting the merge after the 4.3 branch is cut from the main branch.
XuPeng-SH commentedon Oct 22, 2026
QA follow-up for PR #30072 at exact head
13780b807a0a92fa1580edbeac04656132c95199(base merge75ae9a79d626622e6ccec0bcb28412f5fcf84c7f):The new review reports a P2 metadata replay defect: after
ALTER TABLEadds, modifies, or removes TTL,DUMP TABLE ... METADATA ONLYproduces a manifest whosecreate_sqlreflects the original TTL while its schema hash reflects the current schema. Recreating from that manifest and loading the dump then fails with “target table schema does not match table dump.” The review reports reproducing all three mutations through the MySQL entry point; unchanged TTL passed, and replaying currentSHOW CREATEoutput succeeded.This is a review-reported reproduction, not a test I ran in this workspace. The PR's author reports parser/planner/TTL suites and native TTL integration passing after the rebase; those reports do not cover this new dump/load counterexample. Current exact-head combined status is empty; the returned Iceberg E2E workflow is unrelated to TTL. Please update the dump replay DDL owner when TTL policy metadata changes and add public SQL dump/load regressions for add, modify, and remove.
The issue remains open and its existing assignee is unchanged. Next verification: run the three dump/load cases against the merged head, including unchanged TTL control and populated-data restore.
XuPeng-SH commentedon Oct 23, 2026
QA follow-up — PR #30072 dump/replay finding
PR head
8cb32856c905b9a0cbfcac0ad65f506c575c9cd7adds a shared reconstruction path for manifestcreate_sql, using current table metadata like the schema-hash owner, and a public SQL integration test covering unchanged/add/modify/remove TTL across metadata-only and populated dumps (8 cases). This addresses the previously recorded ALTER-TTL replay mismatch at the code/test level; the regression test recreates only from the manifest's owncreate_sql, then LOADs the dump.The repository's new evidence bundle reports the six mutation cases failing on the unfixed production baseline and all eight passing after the correction. I inspected the new implementation, integration test, and evidence manifest, but did not execute Go/SQL locally: this workspace has no MatrixOne checkout and
gois unavailable. Therefore this is not independent runtime validation, and I am not handing the broad #24552 feature to testing yet.Issue #24552 remains open with its existing assignee. The PR also states that its separate syntax/visibility/performance discussion is unchanged; those broader acceptance and deployment/performance checks remain outstanding. Recheck the exact new head with the relevant native suites and maintainer review before tester handoff.