

 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/). 

# mv\$1enable\$1aqmv\$1for\$1session
<a name="r_mv_enable_aqmv_for_session"></a>

## Values (default in bold)
<a name="r_mv_enable_aqmv_for_session-values"></a>

 **true**, false

## Description
<a name="mv_auto_rewriting_enable-description"></a>

Specifies whether Amazon Redshift can perform automatic query rewriting of materialized views at the session level.