File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed
crates/integrations/datafusion/src/physical_plan Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -95,14 +95,29 @@ impl IcebergWriteExec {
95
95
}
96
96
97
97
impl Debug for IcebergWriteExec {
98
- fn fmt ( & self , _f : & mut Formatter < ' _ > ) -> std:: fmt:: Result {
99
- todo ! ( )
98
+ fn fmt ( & self , f : & mut Formatter < ' _ > ) -> std:: fmt:: Result {
99
+ write ! ( f , "IcebergWriteExec" )
100
100
}
101
101
}
102
102
103
103
impl DisplayAs for IcebergWriteExec {
104
- fn fmt_as ( & self , _t : DisplayFormatType , _f : & mut Formatter ) -> std:: fmt:: Result {
105
- todo ! ( )
104
+ fn fmt_as ( & self , t : DisplayFormatType , f : & mut Formatter ) -> std:: fmt:: Result {
105
+ match t {
106
+ DisplayFormatType :: Default => {
107
+ write ! ( f, "IcebergWriteExec: table={}" , self . table. identifier( ) )
108
+ }
109
+ DisplayFormatType :: Verbose => {
110
+ write ! (
111
+ f,
112
+ "IcebergWriteExec: table={}, result_schema={:?}" ,
113
+ self . table. identifier( ) ,
114
+ self . result_schema
115
+ )
116
+ }
117
+ DisplayFormatType :: TreeRender => {
118
+ write ! ( f, "IcebergWriteExec: table={}" , self . table. identifier( ) )
119
+ }
120
+ }
106
121
}
107
122
}
108
123
You can’t perform that action at this time.
0 commit comments