Pular para o conteúdo principal

UDF_USER_CODE_ERROR error condition

SQLSTATE: 39000

Execution of function <fn> failed.

CLASS_NOT_FOUND

Could not find <type> <className> in the provided JAR file. Ensure the class exists in the JAR and that the handler path is correct.

GENERIC

== Error ==

<error>

== Stacktrace ==

<stack>

HANDLER_INPUT_SCHEMA

Cannot find handler with name <handler> matching the schema <inputSchema>. Possible candidates: <candidates>.

HANDLER_MULTIPLE_CANDIDATES

There are multiple methods with name <handler> matching the input schema <inputSchema>: <candidates>.

HANDLER_RETURN_TYPE

Cannot convert return type <returnType> of handler <handler> to the expected SQL type <sqlReturnType>.

HANDLER_UNKNOWN

Cannot find handler with name <handler>. Check that this handler exists in UDF dependencies.

INPUT_CONVERSION

== Error ==

<error>

INTERNAL_MEMORY_LIMIT

The internal memory limit has been reached. Consider reducing the size of each row passed to the UDF.

LANGUAGE_MISMATCH

The specified language (<specifiedLanguage>) does not match the actual language of the handler (<actualLanguage>). Update the language in your UDF definition.

OOM

Function ran out of memory during execution.

This may be caused by excessive memory usage of the running code.

PAYLOAD

<error>

RESULT_CONVERSION

Consider changing the function to return a value that fits the return type.

== Error ==

<error>