mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-18 22:04:59 +00:00
feat: add fixed size list support (#1231)
This commit is contained in:
parent
39980e8976
commit
ce85084deb
4 changed files with 36 additions and 10 deletions
|
@ -1917,11 +1917,13 @@ fn parse_array_index_expr() {
|
|||
})],
|
||||
named: true,
|
||||
})),
|
||||
data_type: DataType::Array(ArrayElemTypeDef::SquareBracket(Box::new(
|
||||
DataType::Array(ArrayElemTypeDef::SquareBracket(Box::new(DataType::Int(
|
||||
data_type: DataType::Array(ArrayElemTypeDef::SquareBracket(
|
||||
Box::new(DataType::Array(ArrayElemTypeDef::SquareBracket(
|
||||
Box::new(DataType::Int(None)),
|
||||
None
|
||||
))))
|
||||
))),
|
||||
))),
|
||||
None
|
||||
)),
|
||||
format: None,
|
||||
}))),
|
||||
indexes: vec![num[1].clone(), num[2].clone()],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue