mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-08 01:15:00 +00:00
Support the ARRAY type of Snowflake (#699)
* Snowflake Array * Use the array data type * Try to fix build * Try to fix build * Change Array to option * Remove unused import
This commit is contained in:
parent
bbf32a9e81
commit
0f7e144890
5 changed files with 52 additions and 21 deletions
|
@ -1324,9 +1324,9 @@ fn parse_array_index_expr() {
|
|||
})],
|
||||
named: true,
|
||||
})),
|
||||
data_type: DataType::Array(Box::new(DataType::Array(Box::new(DataType::Int(
|
||||
None
|
||||
)))))
|
||||
data_type: DataType::Array(Some(Box::new(DataType::Array(Some(Box::new(
|
||||
DataType::Int(None)
|
||||
))))))
|
||||
}))),
|
||||
indexes: vec![num[1].clone(), num[2].clone()],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue