Amazon Redshift will no longer support the use of Python UDFs after June 30, 2026.
We will start enforcing it in phases. For more information on the details of Python end of life
and migration options, 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