AWS redshift documentation change
Summary
Added detailed deprecation timeline and migration guidance for Python UDFs, promoting Lambda UDFs
Security assessment
While the documentation mentions isolation benefits of Lambda UDFs as a security-adjacent advantage, the primary focus is on feature deprecation and performance considerations rather than addressing a specific security vulnerability. The change does not document new security features but rather alternative implementations.
Diff
diff --git a/redshift/latest/mgmt/behavior-changes.md b/redshift/latest/mgmt/behavior-changes.md index 21cec4fcf..6af0557c7 100644 --- a//redshift/latest/mgmt/behavior-changes.md +++ b//redshift/latest/mgmt/behavior-changes.md @@ -6,0 +7,2 @@ Upcoming behavior changesRecent behavior changes +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 ](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/). + @@ -16,0 +19,4 @@ The following describes upcoming behavior changes. + * Scalar Python UDFs will reach end of support after June 30, 2026 + + * Amazon Redshift won’t support the creation of new scalar Python UDFs after October 30, 2025 + @@ -23,0 +30,38 @@ The following describes upcoming behavior changes. +### Scalar Python UDFs will reach end of support after June 30, 2026 + +Amazon Redshift will end support for Python UDFs after June 30, 2026. As an alternative, we recommend that you use Lambda UDFs. + +Lambda UDFs have the following advantages over Python UDFs: + + * Lambda UDFs can connect to external services and APIs from within the UDF logic. + + * Lambda UDFs use Lambda compute resources. Heavy compute- or memory-intensive Lambda UDFs don’t impact Amazon Redshift’s query performance or resource concurrency. + + * Lambda UDFs support running Python code. Lambda UDFs support multiple Python runtimes depending on specific use cases. For more information, see [ Building with Python](https://docs.aws.amazon.com/lambda/latest/dg/lambda-python.html) in the _AWS Lambda Developer Guide_. + + * You can isolate custom code execution in a separate service boundary. This simplifies maintenance, monitoring, budgeting, and permission management. + + + + +For information on creating and using Lambda UDFs, see [Scalar Lambda UDFs](https://docs.aws.amazon.com/redshift/latest/dg/udf-creating-a-lambda-sql-udf) in the _Amazon Redshift Database Developer Guide_. For information on converting existing Python UDFs to Lambda UDFs, 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/). + +### Amazon Redshift won’t support the creation of new scalar Python UDFs after October 30, 2025 + +Amazon Redshift will no longer support the creation of new Python UDFs after October 30, 2025. Existing Python UDFs will continue to function normally. We strongly recommend that you migrate your existing Python UDFs to Lambda UDFs before this date. + +Lambda UDFs have the following advantages over Python UDFs: + + * Lambda UDFs can connect to external services and APIs from within the UDF logic. + + * Lambda UDFs use Lambda compute resources. Heavy compute- or memory-intensive Lambda UDFs don’t impact Amazon Redshift’s query performance or resource concurrency. + + * Lambda UDFs support running Python code. Lambda UDFs support multiple Python runtimes depending on specific use cases. For more information, see [ Building with Python](https://docs.aws.amazon.com/lambda/latest/dg/lambda-python.html) in the _AWS Lambda Developer Guide_. + + * You can isolate custom code execution in a separate service boundary. This simplifies maintenance, monitoring, budgeting, and permission management. + + + + +For information on creating and using Lambda UDFs, see [Scalar Lambda UDFs](https://docs.aws.amazon.com/redshift/latest/dg/udf-creating-a-lambda-sql-udf) in the _Amazon Redshift Database Developer Guide_. For information on converting existing Python UDFs to Lambda UDFs, 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/). +