@@ -141,8 +141,23 @@ impl Debug for SessionState {
141
141
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
142
142
f. debug_struct ( "SessionState" )
143
143
. field ( "session_id" , & self . session_id )
144
- // TODO should we print out more?
145
- . finish ( )
144
+ . field ( "analyzer" , & "..." )
145
+ . field ( "optimizer" , & "..." )
146
+ . field ( "physical_optimizers" , & "..." )
147
+ . field ( "query_planner" , & "..." )
148
+ . field ( "catalog_list" , & "..." )
149
+ . field ( "table_functions" , & "..." )
150
+ . field ( "scalar_functions" , & self . scalar_functions )
151
+ . field ( "aggregate_functions" , & self . aggregate_functions )
152
+ . field ( "window_functions" , & self . window_functions )
153
+ . field ( "serializer_registry" , & "..." )
154
+ . field ( "config" , & self . config )
155
+ . field ( "table_options" , & self . table_options )
156
+ . field ( "execution_props" , & self . execution_props )
157
+ . field ( "table_factories" , & "..." )
158
+ . field ( "runtime_env" , & self . runtime_env )
159
+ . field ( "function_factory" , & "..." )
160
+ . finish_non_exhaustive ( )
146
161
}
147
162
}
148
163
0 commit comments