alamb commented on code in PR #2665:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2665#discussion_r4371495055
##########
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:
can we instead update the test to show what happens with this statement
rather than deleting it now? I assume it parses correctly?
--
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]