mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-03 13:58:15 +00:00
Support drop sequence statement (#673)
* Add ObjectType Sequence * Drop sequence test cases added. * Parser and Drop statement Display updated. * Parser and Drop statement Display updated. * Fix compile errors * add new test case
This commit is contained in:
parent
b42632fa0d
commit
b32cbbd855
4 changed files with 33 additions and 2 deletions
|
@ -4469,6 +4469,7 @@ fn parse_drop_table() {
|
|||
names,
|
||||
cascade,
|
||||
purge: _,
|
||||
..
|
||||
} => {
|
||||
assert!(!if_exists);
|
||||
assert_eq!(ObjectType::Table, object_type);
|
||||
|
@ -4489,6 +4490,7 @@ fn parse_drop_table() {
|
|||
names,
|
||||
cascade,
|
||||
purge: _,
|
||||
..
|
||||
} => {
|
||||
assert!(if_exists);
|
||||
assert_eq!(ObjectType::Table, object_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue