File tree 2 files changed +10
-6
lines changed
2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ impl ScalarUDFImpl for AsyncScalarUDF {
112
112
self . inner . signature ( )
113
113
}
114
114
115
- fn return_type ( & self , _arg_types : & [ DataType ] ) -> Result < DataType > {
116
- self . inner . return_type ( _arg_types )
115
+ fn return_type ( & self , arg_types : & [ DataType ] ) -> Result < DataType > {
116
+ self . inner . return_type ( arg_types )
117
117
}
118
118
119
119
fn invoke_with_args ( & self , _args : ScalarFunctionArgs ) -> Result < ColumnarValue > {
Original file line number Diff line number Diff line change @@ -198,12 +198,12 @@ impl PhysicalExpr for AsyncFuncExpr {
198
198
self
199
199
}
200
200
201
- fn data_type ( & self , _input_schema : & Schema ) -> Result < DataType > {
202
- self . func . data_type ( _input_schema )
201
+ fn data_type ( & self , input_schema : & Schema ) -> Result < DataType > {
202
+ self . func . data_type ( input_schema )
203
203
}
204
204
205
- fn nullable ( & self , _input_schema : & Schema ) -> Result < bool > {
206
- self . func . nullable ( _input_schema )
205
+ fn nullable ( & self , input_schema : & Schema ) -> Result < bool > {
206
+ self . func . nullable ( input_schema )
207
207
}
208
208
209
209
fn evaluate ( & self , _batch : & RecordBatch ) -> Result < ColumnarValue > {
@@ -225,4 +225,8 @@ impl PhysicalExpr for AsyncFuncExpr {
225
225
func : new_func,
226
226
} ) )
227
227
}
228
+
229
+ fn fmt_sql ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
230
+ write ! ( f, "{}" , self . func)
231
+ }
228
232
}
You can’t perform that action at this time.
0 commit comments