

 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 Spectrum 限制
<a name="c-spectrum-considerations"></a>

本主題說明使用 Redshift Spectrum 的限制。

當您使用 Redshift Spectrum 時，請注意以下考量事項：
+ Amazon Redshift 叢集和 Amazon S3 儲存貯體必須位於相同的 AWS 區域。
+ Redshift Spectrum 不支援使用已佈建叢集的增強型 VPC 路由。若要存取您的 Amazon S3 資料，您可能需要執行額外的設定步驟。如需詳細資訊，請參閱《Amazon Redshift 管理指南》**中的 [Redshift Spectrum 和增強型 VPC 路由](https://docs.aws.amazon.com/redshift/latest/mgmt/spectrum-enhanced-vpc.html)。
+ Redshift Spectrum 支援 Amazon S3 存取點別名。如需詳細資訊，請參閱《Amazon Simple Storage Service 使用者指南》**中的[為您的存取點使用儲存貯體型別名](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-alias.html)。不過，Redshift Spectrum 不支援具有 Amazon S3 存取點別名的 VPC。如需詳細資訊，請參閱《Amazon Redshift 管理指南》**中的 [Redshift Spectrum 和增強型 VPC 路由](https://docs.aws.amazon.com/redshift/latest/mgmt/spectrum-enhanced-vpc.html)。
+ 您不能在外部資料表上執行更新或刪除操作。若要在指定的結構描述中建立新外部資料表，您可以使用 CREATE EXTERNAL TABLE。如需 CREATE EXTERNAL TABLE 的相關資訊，請參閱 [CREATE EXTERNAL TABLE](r_CREATE_EXTERNAL_TABLE.md)。若要將 SELECT 查詢結果插入外部目錄上的現有外部資料表，您可以使用 INSERT (外部資料表)。如需 INSERT (外部資料表) 的相關資訊，請參閱 [INSERT (外部資料表)](r_INSERT_external_table.md)。
+ 除非您使用已啟用 AWS Lake Formation 的 AWS Glue Data Catalog ，否則您無法控制外部資料表上的使用者許可。但是，您可以在外部結構描述上授予和撤銷許可。如需使用 AWS Lake Formation 的詳細資訊，請參閱 [Redshift Spectrum 和 AWS Lake Formation](spectrum-lake-formation.md)。
+ 要執行 Redshift Spectrum 查詢，資料庫使用者必須具有在資料庫中建立臨時資料表的許可。下列範例可在資料庫 `spectrumdb` 上授予臨時許可至 `spectrumusers` 使用者群組。

  ```
  grant temp on database spectrumdb to group spectrumusers;
  ```

  如需詳細資訊，請參閱[GRANT](r_GRANT.md)。
+ 使用 Athena Data Catalog 或 AWS Glue Data Catalog 做為中繼資料存放區時，請參閱《*Amazon Redshift 管理指南*》中的[配額和限制](https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)。
+ Redshift Spectrum 不支援使用 Kerberos 的 Amazon EMR。