@@ -1931,6 +1931,7 @@ fn parse_cast() {
1931
1931
& Expr :: Cast {
1932
1932
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
1933
1933
data_type: DataType :: BigInt ( None ) ,
1934
+ format: None ,
1934
1935
} ,
1935
1936
expr_from_projection( only( & select. projection) )
1936
1937
) ;
@@ -1941,6 +1942,7 @@ fn parse_cast() {
1941
1942
& Expr :: Cast {
1942
1943
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
1943
1944
data_type: DataType :: TinyInt ( None ) ,
1945
+ format: None ,
1944
1946
} ,
1945
1947
expr_from_projection( only( & select. projection) )
1946
1948
) ;
@@ -1967,6 +1969,7 @@ fn parse_cast() {
1967
1969
& Expr :: Cast {
1968
1970
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
1969
1971
data_type: DataType :: Nvarchar ( Some ( 50 ) ) ,
1972
+ format: None ,
1970
1973
} ,
1971
1974
expr_from_projection( only( & select. projection) )
1972
1975
) ;
@@ -1977,6 +1980,7 @@ fn parse_cast() {
1977
1980
& Expr :: Cast {
1978
1981
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
1979
1982
data_type: DataType :: Clob ( None ) ,
1983
+ format: None ,
1980
1984
} ,
1981
1985
expr_from_projection( only( & select. projection) )
1982
1986
) ;
@@ -1987,6 +1991,7 @@ fn parse_cast() {
1987
1991
& Expr :: Cast {
1988
1992
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
1989
1993
data_type: DataType :: Clob ( Some ( 50 ) ) ,
1994
+ format: None ,
1990
1995
} ,
1991
1996
expr_from_projection( only( & select. projection) )
1992
1997
) ;
@@ -1997,6 +2002,7 @@ fn parse_cast() {
1997
2002
& Expr :: Cast {
1998
2003
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
1999
2004
data_type: DataType :: Binary ( Some ( 50 ) ) ,
2005
+ format: None ,
2000
2006
} ,
2001
2007
expr_from_projection( only( & select. projection) )
2002
2008
) ;
@@ -2007,6 +2013,7 @@ fn parse_cast() {
2007
2013
& Expr :: Cast {
2008
2014
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
2009
2015
data_type: DataType :: Varbinary ( Some ( 50 ) ) ,
2016
+ format: None ,
2010
2017
} ,
2011
2018
expr_from_projection( only( & select. projection) )
2012
2019
) ;
@@ -2017,6 +2024,7 @@ fn parse_cast() {
2017
2024
& Expr :: Cast {
2018
2025
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
2019
2026
data_type: DataType :: Blob ( None ) ,
2027
+ format: None ,
2020
2028
} ,
2021
2029
expr_from_projection( only( & select. projection) )
2022
2030
) ;
@@ -2027,6 +2035,7 @@ fn parse_cast() {
2027
2035
& Expr :: Cast {
2028
2036
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
2029
2037
data_type: DataType :: Blob ( Some ( 50 ) ) ,
2038
+ format: None ,
2030
2039
} ,
2031
2040
expr_from_projection( only( & select. projection) )
2032
2041
) ;
@@ -2040,6 +2049,7 @@ fn parse_try_cast() {
2040
2049
& Expr :: TryCast {
2041
2050
expr: Box :: new( Expr :: Identifier ( Ident :: new( "id" ) ) ) ,
2042
2051
data_type: DataType :: BigInt ( None ) ,
2052
+ format: None ,
2043
2053
} ,
2044
2054
expr_from_projection( only( & select. projection) )
2045
2055
) ;
0 commit comments