LucaCappelletti94 commented on code in PR #2665:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/2665#discussion_r4371568874


##########
tests/sqlparser_sqlite.rs:
##########
@@ -979,21 +979,12 @@ fn parse_between_low_bound_precedence() {
     sqlite().verified_expr("5 BETWEEN 1 AND NULL IS NULL");
     sqlite().verified_expr("5 BETWEEN 1 AND 10 = 1");
 
-    // The inner AND belongs to the bound expression, so the missing `)` is 
reported at FROM.
     assert_eq!(
         sqlite().parse_sql_statements("SELECT a BETWEEN (1 AND 2 FROM t"),
         Err(ParserError::ParserError(
             "Expected: ), found: FROM".to_string()
         ))
     );
-
-    assert_eq!(

Review Comment:
   The case is already covered in `parse_comparison_in_between_low_bound`, 
that's why I dropped it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to