Skip to content

Support renaming table in MongoDB#11423

Merged
ebyhr merged 1 commit intotrinodb:masterfrom
ebyhr:ebi/mongodb-rename-table
May 2, 2022
Merged

Support renaming table in MongoDB#11423
ebyhr merged 1 commit intotrinodb:masterfrom
ebyhr:ebi/mongodb-rename-table

Conversation

@ebyhr
Copy link
Copy Markdown
Member

@ebyhr ebyhr commented Mar 11, 2022

Description

Support renaming table in MongoDB

Documentation

( ) No documentation is needed.
(x) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.

Release notes

( ) No release notes entries required.
(x) Release notes entries required with the following suggested text:

# MongoDB
* Add support for [`ALTER TABLE ... RENAME TO ...`](/sql/alter-table). ({issue}`11423`)

@cla-bot cla-bot bot added the cla-signed label Mar 11, 2022
@github-actions github-actions bot added the docs label Mar 11, 2022
@ebyhr ebyhr marked this pull request as draft March 11, 2022 02:22
@ebyhr ebyhr force-pushed the ebi/mongodb-rename-table branch 2 times, most recently from c819d27 to 38e0c1b Compare March 12, 2022 05:30
@ebyhr ebyhr marked this pull request as ready for review March 13, 2022 23:08
@ebyhr ebyhr force-pushed the ebi/mongodb-rename-table branch from 38e0c1b to d9520ba Compare March 16, 2022 06:21
@ebyhr ebyhr requested a review from hashhar March 16, 2022 10:54
@hashhar hashhar requested a review from grantatspothero March 16, 2022 10:57
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

at some point we should consider introducing a mechanism to apply compensation actions in case of partial failure of methods like these so that the operations are "transactional".

@ebyhr ebyhr force-pushed the ebi/mongodb-rename-table branch 2 times, most recently from 9d8a1f8 to c6eca34 Compare March 16, 2022 23:57
@ebyhr ebyhr force-pushed the ebi/mongodb-rename-table branch from c6eca34 to fa70793 Compare April 30, 2022 08:18
@ebyhr ebyhr merged commit 1bbba9b into trinodb:master May 2, 2022
@ebyhr ebyhr deleted the ebi/mongodb-rename-table branch May 2, 2022 04:35
@ebyhr ebyhr mentioned this pull request May 2, 2022
@github-actions github-actions bot added this to the 380 milestone May 2, 2022
v-jizhang added a commit to v-jizhang/presto that referenced this pull request Jun 24, 2022
Cherry-pick of trinodb/trino#11423
Support renaming table in MongoDB

Co-authored-by: Yuya Ebihara <ebyhry@gmail.com>
highker pushed a commit to prestodb/presto that referenced this pull request Jun 25, 2022
Cherry-pick of trinodb/trino#11423
Support renaming table in MongoDB

Co-authored-by: Yuya Ebihara <ebyhry@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants