@@ -1936,6 +1936,7 @@ fn parse_cast() {
1936
1936
& Expr :: Cast {
1937
1937
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
1938
1938
data_type: DataType :: BigInt ( None ) ,
1939
+ format: None ,
1939
1940
} ,
1940
1941
expr_from_projection( only( & select. projection) )
1941
1942
) ;
@@ -1946,6 +1947,7 @@ fn parse_cast() {
1946
1947
& Expr :: Cast {
1947
1948
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
1948
1949
data_type: DataType :: TinyInt ( None ) ,
1950
+ format: None ,
1949
1951
} ,
1950
1952
expr_from_projection( only( & select. projection) )
1951
1953
) ;
@@ -1972,6 +1974,7 @@ fn parse_cast() {
1972
1974
& Expr :: Cast {
1973
1975
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
1974
1976
data_type: DataType :: Nvarchar ( Some ( 50 ) ) ,
1977
+ format: None ,
1975
1978
} ,
1976
1979
expr_from_projection( only( & select. projection) )
1977
1980
) ;
@@ -1982,6 +1985,7 @@ fn parse_cast() {
1982
1985
& Expr :: Cast {
1983
1986
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
1984
1987
data_type: DataType :: Clob ( None ) ,
1988
+ format: None ,
1985
1989
} ,
1986
1990
expr_from_projection( only( & select. projection) )
1987
1991
) ;
@@ -1992,6 +1996,7 @@ fn parse_cast() {
1992
1996
& Expr :: Cast {
1993
1997
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
1994
1998
data_type: DataType :: Clob ( Some ( 50 ) ) ,
1999
+ format: None ,
1995
2000
} ,
1996
2001
expr_from_projection( only( & select. projection) )
1997
2002
) ;
@@ -2002,6 +2007,7 @@ fn parse_cast() {
2002
2007
& Expr :: Cast {
2003
2008
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
2004
2009
data_type: DataType :: Binary ( Some ( 50 ) ) ,
2010
+ format: None ,
2005
2011
} ,
2006
2012
expr_from_projection( only( & select. projection) )
2007
2013
) ;
@@ -2012,6 +2018,7 @@ fn parse_cast() {
2012
2018
& Expr :: Cast {
2013
2019
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
2014
2020
data_type: DataType :: Varbinary ( Some ( 50 ) ) ,
2021
+ format: None ,
2015
2022
} ,
2016
2023
expr_from_projection( only( & select. projection) )
2017
2024
) ;
@@ -2022,6 +2029,7 @@ fn parse_cast() {
2022
2029
& Expr :: Cast {
2023
2030
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
2024
2031
data_type: DataType :: Blob ( None ) ,
2032
+ format: None ,
2025
2033
} ,
2026
2034
expr_from_projection( only( & select. projection) )
2027
2035
) ;
@@ -2032,6 +2040,7 @@ fn parse_cast() {
2032
2040
& Expr :: Cast {
2033
2041
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
2034
2042
data_type: DataType :: Blob ( Some ( 50 ) ) ,
2043
+ format: None ,
2035
2044
} ,
2036
2045
expr_from_projection( only( & select. projection) )
2037
2046
) ;
@@ -2045,6 +2054,7 @@ fn parse_try_cast() {
2045
2054
& Expr :: TryCast {
2046
2055
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
2047
2056
data_type: DataType :: BigInt ( None ) ,
2057
+ format: None ,
2048
2058
} ,
2049
2059
expr_from_projection( only( & select. projection) )
2050
2060
) ;
0 commit comments