mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-30 10:47:22 +00:00
parent
3e94877f03
commit
a5bbb5e8ac
5 changed files with 116 additions and 9 deletions
|
@ -2633,7 +2633,7 @@ fn parse_cast() {
|
|||
&Expr::Cast {
|
||||
kind: CastKind::Cast,
|
||||
expr: Box::new(Expr::Identifier(Ident::new("id"))),
|
||||
data_type: DataType::Varbinary(Some(50)),
|
||||
data_type: DataType::Varbinary(Some(BinaryLength::IntegerLength { length: 50 })),
|
||||
format: None,
|
||||
},
|
||||
expr_from_projection(only(&select.projection))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue