Skip to content

Added support for DROP DOMAIN#1828

Merged
iffyio merged 2 commits intoapache:mainfrom
LucaCappelletti94:drop-domain
May 2, 2025
Merged

Added support for DROP DOMAIN#1828
iffyio merged 2 commits intoapache:mainfrom
LucaCappelletti94:drop-domain

Conversation

@LucaCappelletti94
Copy link
Copy Markdown
Contributor

This pull request:

Best,
Luca

src/ast/mod.rs Outdated
Comment on lines +3328 to +3332
DropDomain {
if_exists: bool,
name: ObjectName,
drop_behavior: Option<DropBehavior>,
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could we wrap the new statement in a named struct? We're looking to move over to that pattern for newer statements. e.g.

struct DropDomain {
    if_exist: bool 
    // ...
}
Statement::DropDomain(DropDomain)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oki

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done in commit 10dab51

Copy link
Copy Markdown
Contributor

@iffyio iffyio left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @LucaCappelletti94!
cc @alamb

@iffyio iffyio merged commit 483394c into apache:main May 2, 2025
9 checks passed
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.

2 participants