mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 14:28:22 +00:00
Add support for snowflake exclusive create table options (#1233)
Co-authored-by: Ilson Roberto Balliego Junior <ilson@validio.io>
This commit is contained in:
parent
3c33ac15bd
commit
be77ce50ca
10 changed files with 1029 additions and 31 deletions
|
@ -442,7 +442,10 @@ fn parse_create_table_with_options() {
|
|||
assert_eq!(
|
||||
(
|
||||
Some(Box::new(Expr::Identifier(Ident::new("_PARTITIONDATE")))),
|
||||
Some(vec![Ident::new("userid"), Ident::new("age"),]),
|
||||
Some(WrappedCollection::NoWrapping(vec![
|
||||
Ident::new("userid"),
|
||||
Ident::new("age"),
|
||||
])),
|
||||
Some(vec![
|
||||
SqlOption {
|
||||
name: Ident::new("partition_expiration_days"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue