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 @@ -8350,7 +8350,7 @@ impl<'a> Parser<'a> {
8350
8350
let mut idents = vec![];
8351
8351
loop {
8352
8352
if self.dialect.supports_object_name_double_dot_notation()
8353
- && ! idents.is_empty()
8353
+ && idents.len() == 1
8354
8354
&& self.peek_token() == Token::Period
8355
8355
{
8356
8356
self.next_token();
Original file line number Diff line number Diff line change @@ -2850,7 +2850,7 @@ fn test_parse_show_columns_sql() {
2850
2850
#[ test]
2851
2851
fn test_sf_double_dot_notation ( ) {
2852
2852
snowflake ( ) . verified_stmt ( "SELECT * FROM db_name..table_name" ) ;
2853
- snowflake ( ) . verified_stmt ( "SELECT * FROM x, y..z JOIN a..b as as b ON x.id = b.id" ) ;
2853
+ snowflake ( ) . verified_stmt ( "SELECT * FROM x, y..z JOIN a..b AS b ON x.id = b.id" ) ;
2854
2854
}
2855
2855
2856
2856
#[ test]
You can’t perform that action at this time.
0 commit comments