mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-12-23 11:12:51 +00:00
Tentatively fixed snowflake ident in @-prefixed paths
This commit is contained in:
parent
819c0958d6
commit
7ea97462de
1 changed files with 1 additions and 1 deletions
|
|
@ -1072,7 +1072,7 @@ pub fn parse_stage_name_identifier(parser: &mut Parser) -> Result<Ident, ParserE
|
|||
Token::Minus => ident.push('-'),
|
||||
Token::Number(n, _) => ident.push_str(n),
|
||||
Token::Word(w) => {
|
||||
if matches!(w.keyword, Keyword::NoKeyword) {
|
||||
if matches!(w.keyword, Keyword::NoKeyword) || ident.ends_with("@") {
|
||||
ident.push_str(w.to_string().as_str());
|
||||
} else {
|
||||
parser.prev_token();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue