简体   繁体   中英

How do you connect to an external schema/table on Redshift Spectrum through AWS Quicksight?

I have spun up a Redshift cluster and added my S3 external schema by running

CREATE EXTERNAL SCHEMA s3 FROM DATA CATALOG
DATABASE '<aws_glue_db>'
IAM_ROLE '<redshift_s3_glue_iam_role_arn>';

to access the AWS Glue Data Catalog. Everything is fine on Redshift, I can query data and all is well. On Quicksight, however, the table is recognized but is empty.

Do i have to move the data into Redshift? If so, would the only reason I should be using Redshift be to process Parquet files?

You should be able to select external tables from redshift, I think the role you're using is missing access to s3

https://aws.amazon.com/premiumsupport/knowledge-center/redshift-cross-account-glue-s3/

最后我只是写了一个自定义的SQL表达式来选择相关字段

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM