mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-08 01:15:00 +00:00
Support EXCLUDE support for snowflake and generic dialect (#721)
The exclude clause can be used after a possibly qualified on SELECT
This commit is contained in:
parent
3df0e444c8
commit
fa6bd01b19
7 changed files with 170 additions and 21 deletions
|
@ -1229,7 +1229,7 @@ fn parse_pg_returning() {
|
|||
pg_and_generic().verified_stmt("DELETE FROM tasks WHERE status = 'DONE' RETURNING *");
|
||||
match stmt {
|
||||
Statement::Delete { returning, .. } => {
|
||||
assert_eq!(Some(vec![SelectItem::Wildcard,]), returning);
|
||||
assert_eq!(Some(vec![SelectItem::Wildcard(None),]), returning);
|
||||
}
|
||||
_ => unreachable!(),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue