Support bigquery CAST AS x [STRING|DATE] FORMAT syntax (#978)

This commit is contained in:
Lukasz Stefaniak 2023-10-20 20:33:12 +02:00 committed by GitHub
parent 83cb734b3c
commit c68e9775a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 130 additions and 6 deletions

View file

@ -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()],
},