A data lake stores CDC events as JSON in S3. You want Apache Spark (AWS Glue/EMR) to evolve schemas safely while preserving historical raw data. Which combination most directly supports schema evolution without breaking downstream reads?
Answer
Convert raw JSON to Parquet with schema evolution enabled and keep the original JSON in an immutable raw zone
Explanation
Preserving immutable raw data allows reprocessing, while Parquet with schema evolution supports safe addition/removal/changes of fields for downstream analytics. Downstream stability is improved by using a controlled curated layer.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A Glue job writes to a partitioned S3 dataset with partitions by event_date (YYYY-MM-DD). After a backfill run, you find some partitions partially written due to a job failure mid-way. Which failure-handling technique best ensures atomicity of partition writes?
View question →
A streaming ingestion writes to S3 and then triggers Glue crawlers periodically. You observe that Athena occasionally fails or returns incomplete results because tables update mid-query. What is the best operational practice?
View question →
A pipeline reads from DynamoDB Streams and writes to S3, then Athena queries the results. You observe inconsistent column types over time (e.g., numeric fields sometimes become strings). What is the most robust strategy to prevent Athena type conflicts?
View question →
In Redshift with Spectrum over an S3 data lake, you want query performance improvements for date-based filtering. Which strategy most directly reduces scanned data volume?
View question →
In AWS Glue, you need incremental ingestion from a source that cannot guarantee record ordering and can resend late events. Which approach best prevents duplicates in the target while still supporting late-arriving data?
View question →
An ETL engineer pipelines events into a curated dataset stored as Parquet in S3. The dataset uses S3 partitioning by processing_hour. Downstream queries sometimes return different aggregates for the “same” time window. What is the most likely cause and mitigation?
View question →