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

Add support for ALTER SCHEMA command on multi-node #3945

Merged
merged 1 commit into from
Dec 23, 2021

Conversation

pmwkaa
Copy link
Contributor

@pmwkaa pmwkaa commented Dec 20, 2021

This change adds support for ALTER SCHEMA RENAME TO and
ALTER SCHEMA OWNER TO commands to distributed database.

Issue: #3909

@pmwkaa pmwkaa requested a review from a team as a code owner December 20, 2021 11:38
@pmwkaa pmwkaa requested review from berkley, mkindahl and svenklemm and removed request for a team December 20, 2021 11:38
@pmwkaa pmwkaa self-assigned this Dec 20, 2021
@codecov
Copy link

codecov bot commented Dec 20, 2021

Codecov Report

Merging #3945 (bce6072) into master (b735fdc) will decrease coverage by 0.02%.
The diff coverage is 92.06%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3945      +/-   ##
==========================================
- Coverage   90.75%   90.73%   -0.03%     
==========================================
  Files         213      213              
  Lines       38376    38481     +105     
==========================================
+ Hits        34829    34914      +85     
- Misses       3547     3567      +20     
Impacted Files Coverage Δ
src/loader/loader.c 92.49% <ø> (ø)
src/agg_bookend.c 91.03% <89.28%> (ø)
tsl/src/remote/dist_ddl.c 96.13% <94.28%> (-0.26%) ⬇️
src/loader/bgw_message_queue.c 85.52% <0.00%> (-2.64%) ⬇️
src/copy.c 90.55% <0.00%> (-0.58%) ⬇️
tsl/src/fdw/modify_exec.c 83.23% <0.00%> (-0.49%) ⬇️
src/planner.c 94.81% <0.00%> (-0.19%) ⬇️
src/process_utility.c 94.41% <0.00%> (-0.05%) ⬇️
src/chunk.c 95.88% <0.00%> (+<0.01%) ⬆️
src/nodes/chunk_insert_state.c 97.44% <0.00%> (+<0.01%) ⬆️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 24d9243...bce6072. Read the comment docs.

This change adds support for ALTER SCHEMA RENAME TO and
ALTER SCHEMA OWNER TO commands to distributed database.

Issue: timescale#3909
@pmwkaa pmwkaa merged commit 4b32276 into timescale:master Dec 23, 2021
akuzm added a commit to akuzm/timescaledb that referenced this pull request Feb 17, 2022
This release is medium priority for upgrade. We recommend that you
upgrade at the next available opportunity.

This release adds major new features since the 2.5.2 release,
including:

Compression in continuous aggregates Experimental support for timezones
in continuous aggregates Experimental support for monthly buckets in
continuous aggregates It also includes several bug fixes. Telemetry
reports are switched to a new format, and now include more detailed
statistics on compression, distributed hypertables and indexes.

**Features**

* timescale#3768 Allow ALTER TABLE ADD COLUMN with DEFAULT on compressed
hypertable
* timescale#3769 Allow ALTER TABLE DROP COLUMN on compressed hypertable
* timescale#3943 Optimize first/last
* timescale#3945 Add support for ALTER SCHEMA on multi-node
* timescale#3949 Add support for DROP SCHEMA on multi-node

**Bugfixes**

* timescale#3808 Properly handle max_retries option
* timescale#3863 Fix remote transaction heal logic
* timescale#3869 Fix ALTER SET/DROP NULL contstraint on distributed hypertable
* timescale#3944 Fix segfault in add_compression_policy
* timescale#3961 Fix crash in EXPLAIN VERBOSE on distributed hypertable
* timescale#4015 Eliminate float rounding instabilities in interpolate
* timescale#4019 Update ts_extension_oid in transitioning state
* timescale#4073 Fix buffer overflow in partition scheme

**Improvements**

Query planning performance is improved for hypertables with a large
number of chunks.

**Thanks**

* @fvannee for reporting a first/last memory leak
* @mmouterde for reporting an issue with floats and interpolate
akuzm added a commit that referenced this pull request Feb 17, 2022
This release is medium priority for upgrade. We recommend that you
upgrade at the next available opportunity.

This release adds major new features since the 2.5.2 release,
including:

Compression in continuous aggregates Experimental support for timezones
in continuous aggregates Experimental support for monthly buckets in
continuous aggregates It also includes several bug fixes. Telemetry
reports are switched to a new format, and now include more detailed
statistics on compression, distributed hypertables and indexes.

**Features**

* #3768 Allow ALTER TABLE ADD COLUMN with DEFAULT on compressed
hypertable
* #3769 Allow ALTER TABLE DROP COLUMN on compressed hypertable
* #3943 Optimize first/last
* #3945 Add support for ALTER SCHEMA on multi-node
* #3949 Add support for DROP SCHEMA on multi-node

**Bugfixes**

* #3808 Properly handle max_retries option
* #3863 Fix remote transaction heal logic
* #3869 Fix ALTER SET/DROP NULL contstraint on distributed hypertable
* #3944 Fix segfault in add_compression_policy
* #3961 Fix crash in EXPLAIN VERBOSE on distributed hypertable
* #4015 Eliminate float rounding instabilities in interpolate
* #4019 Update ts_extension_oid in transitioning state
* #4073 Fix buffer overflow in partition scheme

**Improvements**

Query planning performance is improved for hypertables with a large
number of chunks.

**Thanks**

* @fvannee for reporting a first/last memory leak
* @mmouterde for reporting an issue with floats and interpolate
svenklemm pushed a commit that referenced this pull request Feb 17, 2022
This release is medium priority for upgrade. We recommend that you
upgrade at the next available opportunity.

This release adds major new features since the 2.5.2 release,
including:

Compression in continuous aggregates Experimental support for timezones
in continuous aggregates Experimental support for monthly buckets in
continuous aggregates It also includes several bug fixes. Telemetry
reports are switched to a new format, and now include more detailed
statistics on compression, distributed hypertables and indexes.

**Features**

* #3768 Allow ALTER TABLE ADD COLUMN with DEFAULT on compressed
hypertable
* #3769 Allow ALTER TABLE DROP COLUMN on compressed hypertable
* #3943 Optimize first/last
* #3945 Add support for ALTER SCHEMA on multi-node
* #3949 Add support for DROP SCHEMA on multi-node

**Bugfixes**

* #3808 Properly handle max_retries option
* #3863 Fix remote transaction heal logic
* #3869 Fix ALTER SET/DROP NULL contstraint on distributed hypertable
* #3944 Fix segfault in add_compression_policy
* #3961 Fix crash in EXPLAIN VERBOSE on distributed hypertable
* #4015 Eliminate float rounding instabilities in interpolate
* #4019 Update ts_extension_oid in transitioning state
* #4073 Fix buffer overflow in partition scheme

**Improvements**

Query planning performance is improved for hypertables with a large
number of chunks.

**Thanks**

* @fvannee for reporting a first/last memory leak
* @mmouterde for reporting an issue with floats and interpolate
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.

4 participants