Skip to content

Conversation

LucaCappelletti94
Copy link
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
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
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
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
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