Search code examples
amazon-web-servicesamazon-redshiftamazon-quicksightamazon-redshift-spectrum

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?


Solution

  • In the end I just wrote a custom SQL expression to select the relevant fields