

 从补丁 198 开始，Amazon Redshift 将不再支持创建新的 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/)。

# SVV\$1ROLES
<a name="r_SVV_ROLES"></a>

使用 SVV\$1ROLES 查看角色信息。

此表对所有用户可见。

## 表列
<a name="r_SVV_ROLES-table-columns"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/redshift/latest/dg/r_SVV_ROLES.html)

## 示例查询
<a name="r_SVV_ROLES-sample-query"></a>

以下示例将返回 SVV\$1ROLES 的输出。

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

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