File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8383,7 +8383,7 @@ impl<'a> Parser<'a> {
83838383 let mut idents = vec![];
83848384 loop {
83858385 if self.dialect.supports_object_name_double_dot_notation()
8386- && ! idents.is_empty()
8386+ && idents.len() == 1
83878387 && self.peek_token() == Token::Period
83888388 {
83898389 self.next_token();
Original file line number Diff line number Diff line change @@ -2868,7 +2868,7 @@ fn test_projection_with_nested_trailing_commas() {
28682868#[ test]
28692869fn test_sf_double_dot_notation ( ) {
28702870 snowflake ( ) . verified_stmt ( "SELECT * FROM db_name..table_name" ) ;
2871- snowflake ( ) . verified_stmt ( "SELECT * FROM x, y..z JOIN a..b as as b ON x.id = b.id" ) ;
2871+ snowflake ( ) . verified_stmt ( "SELECT * FROM x, y..z JOIN a..b AS b ON x.id = b.id" ) ;
28722872}
28732873
28742874#[ test]
You can’t perform that action at this time.
0 commit comments