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> {
83508350 let mut idents = vec![];
83518351 loop {
83528352 if self.dialect.supports_object_name_double_dot_notation()
8353- && ! idents.is_empty()
8353+ && idents.len() == 1
83548354 && self.peek_token() == Token::Period
83558355 {
83568356 self.next_token();
Original file line number Diff line number Diff line change @@ -2850,7 +2850,7 @@ fn test_parse_show_columns_sql() {
28502850#[ test]
28512851fn test_sf_double_dot_notation ( ) {
28522852 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" ) ;
28542854}
28552855
28562856#[ test]
You can’t perform that action at this time.
0 commit comments