Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Rename not supported on distributed hypertables #4106

Closed
yalon opened this issue Feb 17, 2022 · 0 comments · Fixed by #4121
Closed

[Bug]: Rename not supported on distributed hypertables #4106

yalon opened this issue Feb 17, 2022 · 0 comments · Fixed by #4121
Assignees

Comments

@yalon
Copy link

yalon commented Feb 17, 2022

What type of bug is this?

Configuration

What subsystems and features are affected?

Distributed hypertable

What happened?

I want to rename a distroibuted hypertable.

There's no mention in the docs (https://docs.timescale.com/search/?query=rename%20distributed%20hypertable) that this isn't supported, and looking into previous tickets such as #3238 I see that #3300 was supposed to allow it (added to timescale 2.3.1).

However I get:
"alter table xxx rename to yyy;\n": ERROR: operation not supported on distributed hypertable (SQLSTATE 0A000)

Is renaming distributed hypertables not supported? If they are supported, what do I need to do?

Thank!

TimescaleDB version affected

2.5.1

PostgreSQL version used

13.5

What operating system did you use?

Not relevant

What installation method did you use?

Not applicable

What platform did you run on?

Managed Service for TimescaleDB (MST/Aiven)

Relevant log output and stack trace

No response

How can we reproduce the bug?

create table foo(time timestamptz not null);
select create_distributed_hypertable('foo', 'time');
alter table foo rename to foo1;
@yalon yalon added the bug label Feb 17, 2022
@yalon yalon changed the title [Bug]: Rename not supoported on distributed hypertables [Bug]: Rename not supported on distributed hypertables Feb 17, 2022
@pmwkaa pmwkaa self-assigned this Feb 21, 2022
pmwkaa added a commit to pmwkaa/timescaledb that referenced this issue Feb 22, 2022
This PR fixes ON_END logic for distributed DDL execution
by removing old leftover check, which marked those commands
as unsupported.

Fix: timescale#4106
pmwkaa added a commit to pmwkaa/timescaledb that referenced this issue Feb 23, 2022
This PR fixes ON_END logic for distributed DDL execution
by removing old leftover check, which marked those commands
as unsupported.

Fix: timescale#4106
pmwkaa added a commit that referenced this issue Feb 23, 2022
This PR fixes ON_END logic for distributed DDL execution
by removing old leftover check, which marked those commands
as unsupported.

Fix: #4106
RafiaSabih pushed a commit to RafiaSabih/timescaledb that referenced this issue Apr 8, 2022
This PR fixes ON_END logic for distributed DDL execution
by removing old leftover check, which marked those commands
as unsupported.

Fix: timescale#4106
svenklemm pushed a commit that referenced this issue Apr 11, 2022
This PR fixes ON_END logic for distributed DDL execution
by removing old leftover check, which marked those commands
as unsupported.

Fix: #4106
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants