Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/sqlquack-syntax/src/parser/_helpers/ddl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ pub(crate) mod create_table_forms;
pub(crate) mod explain;
pub(crate) mod scripting;
pub(crate) mod snowflake_alter;
pub(crate) mod snowflake_alter_objects;
pub(crate) mod snowflake_alter_resources;
pub(crate) mod table_options;
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ use crate::tokens::types::Result;
impl Parser {
/// Parse a Snowflake ALTER of a kind this module owns, or None when the next words name another kind.
pub(crate) fn parse_alter_snowflake_object(&mut self) -> Result<Option<Expression>> {
if let Some(expr) = self.parse_alter_snowflake_objects()? {
return Ok(Some(expr));
}
if self.check_identifier("TASK")
&& self.check_next_identifier("GRAPH")
&& !self
Expand Down
Loading