

 Amazon Redshift 將不再支援從修補程式 198 開始建立新的 Python UDFs。現有 Python UDF 將繼續正常運作至 2026 年 6 月 30 日。如需詳細資訊，請參閱[部落格文章](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/)。

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 聯合身分使用者組態
<a name="federated-permissions-user-cofig"></a>

透過 Amazon Redshift 聯合許可，使用 IAM 或 IAM Identity Center (IdC) 登入資料進行身分驗證的使用者可以在所有 Amazon Redshift 倉儲中獲得一致的體驗。

當使用者連線到任何 Redshift 叢集時，其組態參數，例如日期格式、搜尋路徑和時區偏好設定，會自動套用至其工作階段。這可確保在所有叢集中維持相同的使用者體驗，而不需要手動重新設定，提供無縫且個人化的體驗。

**範例**

假設 **Alex** 是已在主要 Redshift 資料庫中設定偏好日期格式和時區的資料分析師。當 Alex 在那裡執行查詢時，所有日期值都會以偏好的格式顯示。

現在，Alex 連線到另一個 Redshift 倉儲上的**共用**或**自動掛載**資料庫時，會一致套用這些相同的偏好設定。Alex 在相同的日期格式和時區中看到結果，以確保跨環境的一致體驗。

## 跨 Amazon Redshift 倉儲一致的使用者組態
<a name="federated-user-config-settings"></a>

對於使用 **IAM** 或 **AWS IAM Identity Center (IdC)** 登入資料進行身分驗證的使用者，下列**使用者層級[組態](https://docs.aws.amazon.com/redshift/latest/dg/cm_chap_ConfigurationRef.html)**會自動跨 Redshift 叢集同步：
+ [datestyle](https://docs.aws.amazon.com/redshift/latest/dg/r_datestyle.html)
+ [enable\_case\_sensitive\_identifier](https://docs.aws.amazon.com/redshift/latest/dg/r_enable_case_sensitive_identifier.html)
+ [extra\_float\_digits](https://docs.aws.amazon.com/redshift/latest/dg/r_extra_float_digits.html)
+ [search\_path](https://docs.aws.amazon.com/redshift/latest/dg/r_search_path.html)
+ [cast\_super\_null\_on\_error](https://docs.aws.amazon.com/redshift/latest/dg/r_cast_super_null_on_error.html)
+ [default\_geometry\_encoding](https://docs.aws.amazon.com/redshift/latest/dg/r_default_geometry_encoding.html)
+ [describe\_field\_name\_in\_uppercase](https://docs.aws.amazon.com/redshift/latest/dg/r_describe_field_name_in_uppercase.html)
+ [downcase\_delimited\_identifier](https://docs.aws.amazon.com/redshift/latest/dg/r_downcase_delimited_identifier.html)
+ [enable\_case\_sensitive\_super\_attribute](https://docs.aws.amazon.com/redshift/latest/dg/r_enable_case_sensitive_super_attribute.html)
+ [enable\_numeric\_rounding](https://docs.aws.amazon.com/redshift/latest/dg/r_enable_numeric_rounding.html)
+ [enable\_result\_cache\_for\_session](https://docs.aws.amazon.com/redshift/latest/dg/r_enable_result_cache_for_session.html)
+ [error\_on\_nondeterministic\_update](https://docs.aws.amazon.com/redshift/latest/dg/r_error_on_nondeterministic_update.html)
+ [interval\_forbid\_composite\_literals](https://docs.aws.amazon.com/redshift/latest/dg/r_interval_forbid_composite_literals.html)
+ [json\_serialization\_enable](https://docs.aws.amazon.com/redshift/latest/dg/r_json_serialization_enable.html)
+ [json\_serialization\_parse\_nested\_strings](https://docs.aws.amazon.com/redshift/latest/dg/r_json_serialization_parse_nested_strings.html)
+ [mv\_enable\_aqmv\_for\_session](https://docs.aws.amazon.com/redshift/latest/dg/r_mv_enable_aqmv_for_session.html)
+ [navigate\_super\_null\_on\_error](https://docs.aws.amazon.com/redshift/latest/dg/r_navigate_super_null_on_error.html)
+ [parse\_super\_null\_on\_error](https://docs.aws.amazon.com/redshift/latest/dg/r_parse_super_null_on_error.html)
+ [spectrum\_enable\_pseudo\_columns](https://docs.aws.amazon.com/redshift/latest/dg/r_spectrum_enable_pseudo_columns.html)
+ [enable\_spectrum\_oid](https://docs.aws.amazon.com/redshift/latest/dg/r_spectrum_enable_spectrum_oid.html)
+ [spectrum\_query\_maxerror](https://docs.aws.amazon.com/redshift/latest/dg/r_spectrum_query_maxerror.html)
+ [stored\_proc\_log\_min\_messages](https://docs.aws.amazon.com/redshift/latest/dg/r_stored_proc_log_min_messages.html)
+ [analyze\_threshold\_percent](https://docs.aws.amazon.com/redshift/latest/dg/r_analyze_threshold_percent.html)
+ [enable\_vacuum\_boost](https://docs.aws.amazon.com/redshift/latest/dg/r_enable_vacuum_boost.html)
+ [pg\_federation\_repeatable\_read](https://docs.aws.amazon.com/redshift/latest/dg/r_pg_federation_repeatable_read.html)

## 連線和組態管理
<a name="federated-user-config-management"></a>
+ 使用 **JDBC** 連線至 Amazon Redshift 時，也可能會自動套用某些**工作階段層級組態**。如需詳細資訊，請參閱 JDBC 工作階段層級組態文件。
+ 使用者也可以使用 [ALTER USER](https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_USER.html) 定義持久**性使用者層級組態**。