

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

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

# 在 Amazon Redshift AWS Lake Formation 中與 共用資料的考量事項
<a name="lake-formation-considerations"></a>

以下是使用 Lake Formation 共用 Amazon Redshift 資料的考量和限制。如需有關資料共用考量和限制的資訊，請參閱[在 Amazon Redshift 中使用資料共用時的考量事項](https://docs.aws.amazon.com/redshift/latest/dg/datashare-considerations.html)。如需 Lake Formation 限制的相關資訊，請參閱[有關在 Lake Formation 中使用 Amazon Redshift 資料庫的注意事項](https://docs.aws.amazon.com/lake-formation/latest/dg/notes-rs-datashare.html)。
+ 目前不支援跨區域與 Lake Formation 共用資料共用。
+ 如果已針對共用關係上的使用者定義資料欄層級篩選，則執行 `SELECT *` 操作只會傳回使用者有權存取的資料欄。
+ 不支援 Lake Formation 的儲存格層級篩選。
+ 如果您已建立檢視及其資料表並將其共用至 Lake Formation，則可以設定篩選來管理資料表的存取權，Amazon Redshift 會在取用者叢集使用者存取共用物件時強制執行 Lake Formation 定義的政策。當使用者存取與 Lake Formation 共用的檢視時，Redshift 只會強制執行檢視 (而非檢視中資料表) 上定義的 Lake Formation 政策。但是，當使用者直接存取資料表時，Redshift 會強制執行資料表上已定義的 Lake Formation 政策。
+ 如果資料表已設定 Lake Formation 篩選，則您無法根據共用資料表建立取用者的具體化視觀表。
+ Lake Formation 管理員必須具有 [ 資料湖管理員](https://docs.aws.amazon.com/lake-formation/latest/dg/getting-started-setup.html#create-data-lake-admin)許可及[接受資料共用所需的許可](https://docs.aws.amazon.com/lake-formation/latest/dg/redshift-ds-prereqs.html)。
+ 生產者取用者叢集必須是具有最新 Amazon Redshift 叢集版本的 RA3 叢集，或是無伺服器工作群組，才能透過 Lake Formation 共用資料共用。
+ 生產者和取用者叢集都必須加密。
+ 將資料共用與 Lake Formation 共用時，在生產者叢集或工作群組中實作的 Redshift 資料列層級和資料欄層級存取控制政策會遭到忽略。Lake Formation 管理員必須在 Lake Formation 中設定這些政策。生產者叢集或工作群組管理員可以使用 [ALTER TABLE](https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_TABLE.html) 命令來關閉資料表的 RLS。
+ 透過 Lake Formation 共用資料共用僅適用於可同時存取 Redshift 和 Lake Formation 的使用者。