

 Amazon Redshift will no longer support the creation of new Python UDFs starting Patch 198. Existing Python UDFs will continue to function until June 30, 2026. For more information, see the [ blog post ](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/). 

# SVV\_REDSHIFT\_FUNCTIONS
<a name="r_SVV_REDSHIFT_FUNCTIONS"></a>

Use SVV\_REDSHIFT\_FUNCTIONS to view a list of all functions that a user has access to. This set of functions includes the functions on the cluster and the functions from datashares provided by remote clusters.

SVV\_REDSHIFT\_FUNCTIONS is visible to all users. Superusers can see all rows; regular users can see only their own data. For more information, see [Visibility of data in system tables and views](cm_chap_system-tables.md#c_visibility-of-data).

## Table columns
<a name="r_SVV_REDSHIFT_FUNCTIONS-table-columns"></a>


| Column name  | Data type  | Description  | 
| --- | --- | --- | 
| database\_name | varchar(128) | The name of the database where the cluster that has these functions exists.  | 
| schema\_name | varchar(128) | The name of the schema that specifies a given function.  | 
| function\_name | varchar(128) | The name of a specified function. | 
| function\_type | varchar(128) | The type of function. Possible values are regular functions, aggregate functions, and stored procedures. | 
| argument\_type | varchar(512) | A string that represents the type of a function's input argument.  | 
| result\_type | varchar(128) | The data type of a function's return value.  | 

## Sample query
<a name="r_SVV_REDSHIFT_FUNCTIONS-sample-query"></a>

The following example returns the output of SVV\_REDSHIFT\_FUNCTIONS.

```
SELECT *
FROM svv_redshift_functions
WHERE database_name = 'tickit_db'
    AND SCHEMA_NAME = 'public'
ORDER BY function_name
LIMIT 5;

database_name | schema_name |      function_name    |  function_type   |   argument_type  | result_type   
--------------+-------------+-----------------------+------------------+------------------+-------------
   tickit_db  |    public   |     shared_function   | REGULAR FUNCTION | integer, integer |   integer
```