mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 14:28:22 +00:00
Add support for the SQL OVERLAPS predicate (#1638)
This commit is contained in:
parent
e23877cb2d
commit
17e22f0a60
4 changed files with 13 additions and 0 deletions
|
@ -12805,3 +12805,8 @@ fn parse_update_from_before_select() {
|
|||
parse_sql_statements(query).unwrap_err()
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parse_overlaps() {
|
||||
verified_stmt("SELECT (DATE '2016-01-10', DATE '2016-02-01') OVERLAPS (DATE '2016-01-20', DATE '2016-02-10')");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue