Data Ingestion and Transformation
An AWS Glue Spark job must read a multi-terabyte Amazon Redshift table for batch transformation. The extraction must use Redshift's parallel export capability rather than transfer the table through a JDBC result set; which approach meets this requirement?
Show the answer
Correct answerA. Use the Glue Redshift connector with an S3 temporary directory.
AWhy this is right: The connector uses Redshift UNLOAD and temporary S3 storage to read large datasets efficiently.
BWhy not this: Spectrum reads external data in S3; it does not export an internal Redshift table to Spark.
CWhy not this: COPY loads data into Redshift rather than exporting a Redshift table for Glue.
DWhy not this: Partitioning can parallelize JDBC queries, but their results still travel through JDBC.
The Glue Redshift connector uses UNLOAD to export data in parallel to S3 before Spark reads it. Partitioned generic JDBC reads still transfer query results through JDBC rather than using Redshift's parallel export.