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> {
8383
8383
let mut idents = vec![];
8384
8384
loop {
8385
8385
if self.dialect.supports_object_name_double_dot_notation()
8386
- && ! idents.is_empty()
8386
+ && idents.len() == 1
8387
8387
&& self.peek_token() == Token::Period
8388
8388
{
8389
8389
self.next_token();
Original file line number Diff line number Diff line change @@ -2868,7 +2868,7 @@ fn test_projection_with_nested_trailing_commas() {
2868
2868
#[ test]
2869
2869
fn test_sf_double_dot_notation ( ) {
2870
2870
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" ) ;
2872
2872
}
2873
2873
2874
2874
#[ test]
You can’t perform that action at this time.
0 commit comments