Skip to content

Alter hypertable update for drop column/change type#4584

Merged
atovpeko merged 4 commits intolatestfrom
3791-feedback-feedback-page-use-timescalelatesthypertablesalter
Nov 24, 2025
Merged

Alter hypertable update for drop column/change type#4584
atovpeko merged 4 commits intolatestfrom
3791-feedback-feedback-page-use-timescalelatesthypertablesalter

Conversation

@atovpeko
Copy link
Contributor

No description provided.

@atovpeko atovpeko linked an issue Nov 20, 2025 that may be closed by this pull request
@github-actions
Copy link

Allow 10 minutes from last push for the staging site to build. If the link doesn't work, try using incognito mode instead. For internal reviewers, check web-documentation repo actions for staging build status. Link to build for this PR: http://docs-dev.timescale.com/docs-3791-feedback-feedback-page-use-timescalelatesthypertablesalter


The following restrictions apply:

- You cannot change the type of `segmentby` columns.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- You cannot change the type of `segmentby` columns.
- You cannot change the type of `segmentby` columns.
- You cannot change the type of columns when any chunk of the hypertable uses columnstore

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added in a sightly different wording and linked to the dedicated page about it

- For time dimension columns, you can only change to `TIMESTAMPTZ`, `TIMESTAMP`, `DATE`,
`INTEGER` (smallint, integer, or bigint), or `UUID` (UUIDv7 only).
- You cannot change the type of columns with custom partitioning functions.
- You cannot change the type of columns for $HYPERTABLEs with $COLUMNSTORE enabled. See [Altering $HYPERTABLEs with $COLUMNSTORE enabled][alter-schema] for how to do it instead.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with 2.24 this is no longer tied to columnstore being enabled but to individual chunks using columnstore

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will keep in mind, thank you.

@atovpeko atovpeko merged commit d47a629 into latest Nov 24, 2025
3 checks passed
@atovpeko atovpeko deleted the 3791-feedback-feedback-page-use-timescalelatesthypertablesalter branch November 24, 2025 13:47
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.

[Feedback] [Feedback] Page: /use-timescale/latest/hypertables/alter/

3 participants