

 Amazon Redshift は、パッチ 198 以降、新しい Python UDF の作成をサポートしなくなります。既存の 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 アイデンティティセンター (IdC) 認証情報で認証されたユーザーは、すべての Amazon Redshift ウェアハウスで一貫したエクスペリエンスを得ることができます。

ユーザーが任意の Redshift クラスターに接続すると、日付形式、検索パス、タイムゾーン設定などの設定パラメータがセッションに自動的に適用されます。これにより、手動の再設定を必要とせずに、すべてのクラスターで同じユーザーエクスペリエンスを維持し、シームレスでパーソナライズされたエクスペリエンスを実現できます。

**例**

プライマリ Redshift データベースで特定の日付形式とタイムゾーンを設定しているデータアナリストである **Alex** について考えてみましょう。Alex がそこでクエリを実行すると、すべての日付値が設定した形式で表示されます。

これで、Alex が別の Redshift ウェアハウスの**共有**データベースまたは**自動マウント**データベースに接続すると、同じ設定が一貫して適用されます。Alex は、結果を同じ日付形式とタイムゾーンで表示でき、どの環境でも一貫したエクスペリエンスが得られます。

## Amazon Redshift ウェアハウス間で一貫したユーザー設定
<a name="federated-user-config-settings"></a>

次の**ユーザーレベルの[設定](https://docs.aws.amazon.com/redshift/latest/dg/cm_chap_ConfigurationRef.html)**は、**IAM** または **AWS IAM アイデンティティセンター (IdC)** 認証情報で認証されたユーザーの 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) を使用して永続的な**ユーザーレベルの設定**を定義することもできます。