You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ea5ac2d
Browse filesBrowse the repository at this point in the historyBrowse files
fix(syntax): refuse a malformed CREATE INTERACTIVE WAREHOUSE and read MAX_STALENESS as a string
Snowflake refuses CREATE INTERACTIVE WAREHOUSE with no name, with IF
EXISTS, or with a bare parenthesised list after the name, so the opaque
check now knows the kind and refuses them too. A semantic view's
MAX_STALENESS takes a string: Snowflake refuses a number there and
parses a string, so the parser does the same.
Copy file name to clipboardExpand all lines: crates/sqlquack-syntax-snowflake/src/parser/_helpers/ddl/snowflake_opaque.rs
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ impl Parser {
32
32
checked
33
33
}
34
34
35
-
/// After a CREATE's name, the shape its kind needs: FROM for a code bundle or notebook project, a snapshot's service volume, an external agent's version, a variable's type, AS COPY for a pipe's body, an Openflow connector's added version and push, and a warehouse's actions; the cursor stays after the name.
35
+
/// After a CREATE's name, the shape its kind needs: FROM for a code bundle or notebook project, a snapshot's service volume, an external agent's version, a variable's type, AS COPY for a pipe's body, no bare list after an interactive warehouse's name, an Openflow connector's added version and push, and a warehouse's actions; the cursor stays after the name.
0 commit comments