Skip to content

Add support for DELETE statement in MongoDB#14864

Merged
ebyhr merged 2 commits intotrinodb:masterfrom
ebyhr:ebi/mongodb-delete
Nov 14, 2022
Merged

Add support for DELETE statement in MongoDB#14864
ebyhr merged 2 commits intotrinodb:masterfrom
ebyhr:ebi/mongodb-delete

Conversation

@ebyhr
Copy link
Copy Markdown
Member

@ebyhr ebyhr commented Nov 2, 2022

Description

Add support for DELETE statement in MongoDB

Release notes

( ) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
(x) Release notes are required, with the following suggested text:

# MongoDB
* Add support for {doc}`/sql/delete` statement. ({issue}`14864`)

@cla-bot cla-bot bot added the cla-signed label Nov 2, 2022
@ebyhr ebyhr requested review from Praveen2112 and hashhar November 2, 2022 08:17
@github-actions github-actions bot added the docs label Nov 2, 2022
@ebyhr ebyhr force-pushed the ebi/mongodb-delete branch from 2938e10 to 0eef21d Compare November 2, 2022 13:16
@Praveen2112
Copy link
Copy Markdown
Member

On a different note, do we have any test with MongoDB's collation ? Will it affect the predicate or delete pushdown ?

Copy link
Copy Markdown
Member

@Praveen2112 Praveen2112 left a comment

Choose a reason for hiding this comment

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

Change looks good to me but I think we need to check it the specifying collation affects the behavior. https://www.mongodb.com/docs/manual/reference/collation/#collation

@ebyhr
Copy link
Copy Markdown
Member Author

ebyhr commented Nov 12, 2022

Good catch. Just confirmed the correctness issue happens when collections have collation. I will fix the issue first in #14900.

@ebyhr ebyhr merged commit d4707c4 into trinodb:master Nov 14, 2022
@ebyhr ebyhr deleted the ebi/mongodb-delete branch November 14, 2022 00:27
@ebyhr ebyhr mentioned this pull request Nov 14, 2022
@ebyhr ebyhr self-assigned this Nov 14, 2022
@github-actions github-actions bot added this to the 403 milestone Nov 14, 2022
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.

2 participants