Your Glue job reads from a JDBC source with a high change rate. The job uses a watermark column but the source updates rows in-place without preserving monotonicity. Which ingestion method most effectively handles this?
Answer
Use an overlap window strategy (re-read a small trailing range) plus idempotent upserts to reconcile changes
Explanation
Overlap compensates for non-monotonic updates while idempotent upserts prevent duplicates or conflicting records. This is safer than assuming watermark monotonicity.
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 →
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?
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 →