

 Amazon Redshift は、2026 年 6 月 30 日以降、Python UDF の使用をサポートしなくなります。これは段階的に実施されます。Python のサポート終了と移行オプションの詳細については、2025 年 6 月 30 日に公開された[ブログ記事](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/)を参照してください。

# SVV\_ROLES
<a name="r_SVV_ROLES"></a>

SVV\_ROLES を使用してロール情報を表示します。

このテーブルはすべてのユーザーに表示されます。

## テーブルの列
<a name="r_SVV_ROLES-table-columns"></a>


| 列名  | データ型  | 説明  | 
| --- | --- | --- | 
| role\_id | integer | ロール ID。 | 
| role\_name | テキスト | ロールの名前。 | 
| role\_owner | テキスト | ロール所有者の名前。 | 
| external\_id | テキスト | サードパーティーにおけるアイデンティティプロバイダー内のロールの一意の識別子。 | 

## サンプルクエリ
<a name="r_SVV_ROLES-sample-query"></a>

次の例では、SVV\_ROLES の出力を返します。

```
SELECT role_name,role_owner FROM svv_roles WHERE role_name IN ('role1', 'role2');

 role_name | role_owner
-----------+------------
   role1   | superuser
   role2   | superuser
```