@@ -826,41 +826,45 @@ fn parse_create_table_with_variant_default_expressions() {
826826 data_type: DataType :: Datetime ( None ) ,
827827 options: vec![ ColumnOptionDef {
828828 name: None ,
829- option: ColumnOption :: Materialized ( Expr :: Function ( Box :: new( Function {
830- name: ObjectName :: from( vec![ Ident :: new( "now" ) ] ) ,
831- uses_odbc_syntax: false ,
832- args: FunctionArguments :: List ( FunctionArgumentList {
833- args: vec![ ] ,
834- duplicate_treatment: None ,
835- clauses: vec![ ] ,
836- } ) ,
837- parameters: FunctionArguments :: None ,
838- null_treatment: None ,
839- filter: None ,
840- over: None ,
841- within_group: vec![ ] ,
842- } ) ) )
829+ option: ColumnOption :: Materialized ( Expr :: Function ( Box :: new(
830+ Function {
831+ name: ObjectName :: from( vec![ Ident :: new( "now" ) ] ) ,
832+ uses_odbc_syntax: false ,
833+ args: FunctionArguments :: List ( FunctionArgumentList {
834+ args: vec![ ] ,
835+ duplicate_treatment: None ,
836+ clauses: vec![ ] ,
837+ } ) ,
838+ parameters: FunctionArguments :: None ,
839+ null_treatment: None ,
840+ filter: None ,
841+ over: None ,
842+ within_group: vec![ ] ,
843+ }
844+ ) ) )
843845 } ] ,
844846 } ,
845847 ColumnDef {
846848 name: Ident :: new( "b" ) ,
847849 data_type: DataType :: Datetime ( None ) ,
848850 options: vec![ ColumnOptionDef {
849851 name: None ,
850- option: ColumnOption :: Ephemeral ( Some ( Expr :: Function ( Box :: new( Function {
851- name: ObjectName :: from( vec![ Ident :: new( "now" ) ] ) ,
852- uses_odbc_syntax: false ,
853- args: FunctionArguments :: List ( FunctionArgumentList {
854- args: vec![ ] ,
855- duplicate_treatment: None ,
856- clauses: vec![ ] ,
857- } ) ,
858- parameters: FunctionArguments :: None ,
859- null_treatment: None ,
860- filter: None ,
861- over: None ,
862- within_group: vec![ ] ,
863- } ) ) ) )
852+ option: ColumnOption :: Ephemeral ( Some ( Expr :: Function ( Box :: new(
853+ Function {
854+ name: ObjectName :: from( vec![ Ident :: new( "now" ) ] ) ,
855+ uses_odbc_syntax: false ,
856+ args: FunctionArguments :: List ( FunctionArgumentList {
857+ args: vec![ ] ,
858+ duplicate_treatment: None ,
859+ clauses: vec![ ] ,
860+ } ) ,
861+ parameters: FunctionArguments :: None ,
862+ null_treatment: None ,
863+ filter: None ,
864+ over: None ,
865+ within_group: vec![ ] ,
866+ }
867+ ) ) ) )
864868 } ] ,
865869 } ,
866870 ColumnDef {
0 commit comments