Using Redshift Spectrum to read the data in external table in AWS Redshift
问题 I did the below in AWS Redshift cluster to read the Parquet file from S3. create external schema s3_external_schema from data catalog database 'dev' iam_role 'arn:aws:iam::<MyuniqueId>:role/<MyUniqueRole>' create external database if not exists; then CREATE external table s3_external_schema.SUPPLIER_PARQ_1 ( S_SuppKey BIGINT , S_Name varchar(64) , S_Address varchar(64) , S_NationKey int , S_Phone varchar(18) , S_AcctBal decimal(13, 2) , S_Comment varchar(105)) partitioned by (Supplier bigint,