We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c645682 commit 262475eCopy full SHA for 262475e
1 file changed
src/dialect/snowflake.rs
@@ -17,8 +17,11 @@ pub struct SnowflakeDialect;
17
18
impl Dialect for SnowflakeDialect {
19
// see https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html
20
+ // NOTE: $ is not generally a valid identifier start, but it is expected when
21
+ // querying stages:
22
+ // https://docs.snowflake.com/en/user-guide/querying-stage.html#query-syntax-and-parameters
23
fn is_identifier_start(&self, ch: char) -> bool {
- (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') || ch == '_'
24
+ (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') || ch == '_' || ch == '$'
25
}
26
27
fn is_identifier_part(&self, ch: char) -> bool {
0 commit comments