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
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