mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-08 01:15:00 +00:00
Support bigquery CAST AS x [STRING|DATE] FORMAT
syntax (#978)
This commit is contained in:
parent
83cb734b3c
commit
c68e9775a2
6 changed files with 130 additions and 6 deletions
|
@ -1782,7 +1782,8 @@ fn parse_array_index_expr() {
|
|||
})),
|
||||
data_type: DataType::Array(Some(Box::new(DataType::Array(Some(Box::new(
|
||||
DataType::Int(None)
|
||||
))))))
|
||||
)))))),
|
||||
format: None,
|
||||
}))),
|
||||
indexes: vec![num[1].clone(), num[2].clone()],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue