diff --git a/docs/reference/user-defined-functions.md b/docs/reference/user-defined-functions.md index 02d814f19627..35b8b260f6af 100644 --- a/docs/reference/user-defined-functions.md +++ b/docs/reference/user-defined-functions.md @@ -230,7 +230,7 @@ type, like `DECIMAL` or `STRUCT`. For example, a UDF that returns precision and scale of the output based on the input schema. To use this functionality, you need to specify a method with signature -`public SqlType (final List params)` and +`public SqlType (final List params)` and annotate it with `@UdfSchemaProvider`. Also, you need to link it to the corresponding UDF by using the `schemaProvider=` parameter of the `@Udf` annotation.