@@ -43,15 +43,14 @@ use crate::ast::{
4343 } ,
4444 ArgMode , AttachedToken , CommentDef , ConditionalStatements , CreateFunctionBody ,
4545 CreateFunctionUsing , CreateServerOption , CreateTableLikeKind , CreateTableOptions ,
46- CreateViewParams , DataType , Expr ,
47- FileFormat , FunctionBehavior , FunctionCalledOnNull , FunctionDefinitionSetParam , FunctionDesc ,
48- FunctionDeterminismSpecifier , FunctionParallel , FunctionSecurity , HiveDistributionStyle ,
49- HiveFormat , HiveIOFormat , HiveRowFormat , HiveSetLocation , Ident , InitializeKind ,
50- MySQLColumnPosition , ObjectName , OnCommit , OneOrManyWithParens , OperateFunctionArg ,
51- OrderByExpr , ProjectionSelect , Query , RefreshModeKind , ResetConfig , RowAccessPolicy ,
52- SequenceOptions , Spanned , SqlOption , StorageLifecyclePolicy , StorageSerializationPolicy ,
53- TableVersion , Tag , TriggerEvent , TriggerExecBody , TriggerObject , TriggerPeriod ,
54- TriggerReferencing , Value , ValueWithSpan , WrappedCollection ,
46+ CreateViewParams , DataType , Expr , FileFormat , FunctionBehavior , FunctionCalledOnNull ,
47+ FunctionDefinitionSetParam , FunctionDesc , FunctionDeterminismSpecifier , FunctionParallel ,
48+ FunctionSecurity , HiveDistributionStyle , HiveFormat , HiveIOFormat , HiveRowFormat ,
49+ HiveSetLocation , Ident , InitializeKind , MySQLColumnPosition , ObjectName , OnCommit ,
50+ OneOrManyWithParens , OperateFunctionArg , OrderByExpr , ProjectionSelect , Query , RefreshModeKind ,
51+ ResetConfig , RowAccessPolicy , SequenceOptions , Spanned , SqlOption , StorageLifecyclePolicy ,
52+ StorageSerializationPolicy , TableVersion , Tag , TriggerEvent , TriggerExecBody , TriggerObject ,
53+ TriggerPeriod , TriggerReferencing , Value , ValueWithSpan , WrappedCollection ,
5554} ;
5655use crate :: display_utils:: { DisplayCommaSeparated , Indent , NewLine , SpaceOrNewline } ;
5756use crate :: keywords:: Keyword ;
@@ -5842,7 +5841,11 @@ impl fmt::Display for CreateForeignTable {
58425841 write ! (
58435842 f,
58445843 "CREATE FOREIGN TABLE {if_not_exists}{name} ({columns}) SERVER {server_name}" ,
5845- if_not_exists = if self . if_not_exists { "IF NOT EXISTS " } else { "" } ,
5844+ if_not_exists = if self . if_not_exists {
5845+ "IF NOT EXISTS "
5846+ } else {
5847+ ""
5848+ } ,
58465849 name = self . name,
58475850 columns = display_comma_separated( & self . columns) ,
58485851 server_name = self . server_name,
0 commit comments