Add support for MS Varbinary(MAX) (#1714) (#1715)

This commit is contained in:
Tyler Brinks 2025-02-13 03:40:35 -07:00 committed by GitHub
parent 3e94877f03
commit a5bbb5e8ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 116 additions and 9 deletions

View file

@ -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))