Amazon Redshift will no longer support the creation of new Python UDFs starting November 1, 2025.
If you would like to use Python UDFs, create the UDFs prior to that date.
Existing Python UDFs will continue to function as normal. For more information, see the
blog post
String functions
Topics
String functions process and manipulate character strings or expressions that evaluate to character strings. When the string argument in these functions is a literal value, it must be enclosed in single quotation marks. Supported data types include CHAR and VARCHAR.
The following section provides the function names, syntax, and descriptions for supported functions. All offsets into strings are one-based.
Deprecated leader node-only functions
The following string functions are deprecated because they run only on the leader node. For more information, see Leader node–only functions
-
GET_BYTE
-
SET_BIT
-
SET_BYTE
-
TO_ASCII