Skip to content

docs: cover TTL on materialized views in the TTL concept page#482

Open
PedroHenrique0713 wants to merge 1 commit into
questdb:mainfrom
PedroHenrique0713:docs/ttl-materialized-views
Open

docs: cover TTL on materialized views in the TTL concept page#482
PedroHenrique0713 wants to merge 1 commit into
questdb:mainfrom
PedroHenrique0713:docs/ttl-materialized-views

Conversation

@PedroHenrique0713

Copy link
Copy Markdown

What

The TTL concept page documents TTL only for tables under Setting TTL (at table creation and on existing tables). Materialized views are mentioned only in the Enterprise caution at the top, so a reader looking for how to apply TTL to a view on Open Source has no path.

This adds an On materialized views subsection under Setting TTL, mirroring the existing table subsections, covering TTL both at view creation and on an existing view, and linking the canonical SQL references.

Why

Materialized views fully support TTL:

The examples reuse the exact syntax already documented in those pages; no new behavior is introduced.

Closes #275

The TTL concept page only documented TTL for tables under "Setting TTL",
while materialized views were mentioned only in the Enterprise caution.
Add a subsection showing TTL at view creation and on an existing view,
linking the canonical CREATE MATERIALIZED VIEW and ALTER MATERIALIZED
VIEW SET TTL references.

Closes questdb#275
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update TTL concepts page to add materialized views

1 participant