mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-14 12:05:00 +00:00
Support for BigQuery struct
, array
and bytes
, int64
, float64
datatypes (#1003)
This commit is contained in:
parent
65317edcb9
commit
2f437db2a6
8 changed files with 901 additions and 65 deletions
|
@ -1780,9 +1780,11 @@ fn parse_array_index_expr() {
|
|||
})],
|
||||
named: true,
|
||||
})),
|
||||
data_type: DataType::Array(Some(Box::new(DataType::Array(Some(Box::new(
|
||||
DataType::Int(None)
|
||||
)))))),
|
||||
data_type: DataType::Array(ArrayElemTypeDef::SquareBracket(Box::new(
|
||||
DataType::Array(ArrayElemTypeDef::SquareBracket(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