Calling Java UDFs

This topic documents how to call a Java UDF (user-defined function).

In this Topic:

Calling Your Java UDF

In general, a UDF is called the same way that other functions are called, for example:

select my_java_udf(column_1) from my_table;

However, there are a few exceptions, which are listed in Limitations on Calling a Java UDF (in this topic).

Limitations on Calling a Java UDF

Java UDFs cannot be called from the following contexts:

  • The DEFAULT clause of a CREATE TABLE statement.