Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix reference to @SchemaProvider #4784

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs-md/concepts/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ 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 <your-method-name>(final List<SqlType> params)` and
annotate it with `@SchemaProvider`. Also, you need to link it to the
annotate it with `@UdfSchemaProvider`. Also, you need to link it to the
corresponding UDF by using the `schemaProvider=<your-method-name>`
parameter of the `@Udf` annotation.

Expand Down Expand Up @@ -712,7 +712,7 @@ of the output based on the input schema.

To use this functionality, specify a method with signature
`public SqlType <your-method-name>(final List<SqlType> params)` and annotate it
with `@SchemaProvider`. Also, you need to link it to the corresponding UDF by
with `@UdfSchemaProvider`. Also, you need to link it to the corresponding UDF by
using the `schemaProvider=<your-method-name>` parameter of the `@Udtf`
annotation.

Expand Down
4 changes: 2 additions & 2 deletions docs/developer-guide/udf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ A UDF that returns ``BigDecimal`` (which maps to the SQL ``DECIMAL`` type) may v
and scale of the output based on the input schema.

To use this functionality, you need to specify a method with signature
``public SqlType <your-method-name>(final List<SqlType> params)`` and annotate it with ``@SchemaProvider``.
``public SqlType <your-method-name>(final List<SqlType> params)`` and annotate it with ``@UdfSchemaProvider``.
Also, you need to link it to the corresponding UDF by using the ``schemaProvider=<your-method-name>``
parameter of the ``@Udf`` annotation.

Expand Down Expand Up @@ -732,7 +732,7 @@ implement a UDTF with a non-deterministic return type. A UDTF which returns ``Bi
for example, may vary the 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 <your-method-name>(final List<SqlType> params)`` and annotate it with ``@SchemaProvider``.
``public SqlType <your-method-name>(final List<SqlType> params)`` and annotate it with ``@UdfSchemaProvider``.
Also, you need to link it to the corresponding UDF by using the ``schemaProvider=<your-method-name>``
parameter of the ``@Udtf`` annotation.

Expand Down