Skip to content

Conversation

yoavcloud
Copy link
Contributor

No description provided.

src/ast/mod.rs Outdated
display_comma_separated(schemas)
)
}
GrantObjects::None => Ok(()),
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we instead make GrantObjects optional at the usage sites that require it? i.e. objects: Option<GrantObjects>. Thinking so that we get the None representation by convention

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good suggestion, fixed in the last commit

@yoavcloud yoavcloud force-pushed the sf_grant_role_dbrole branch from 41b29fb to 376dffc Compare February 3, 2025 12:43
@yoavcloud yoavcloud requested a review from iffyio February 3, 2025 12:46
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 @yoavcloud!
cc @alamb

@iffyio iffyio merged commit ec948ea into apache:main Feb 3, 2025
9 checks passed
@alamb
Copy link
Contributor

alamb commented Feb 4, 2025

Rolling along ☸️

ayman-sigma pushed a commit to sigmacomputing/sqlparser-rs that referenced this pull request Apr 10, 2025
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.

3 participants