A streaming system uses Kinesis Data Streams feeding a Lambda-based ingestion that writes to an S3 “raw” prefix partitioned by hour. After changing the schema to add a new nullable column, analytics jobs fail because older partitions have no column in their catalog definition. What is the best approach to keep the data catalog and query behavior consistent?

Answer

Enable schema evolution awareness by using Glue schema registry (or equivalent governance) and versioned schema handling so new columns are compatible and nullable

Explanation

Versioned schema evolution with compatibility rules and nullable added fields allows older and newer partitions to be queried without breaking jobs. Rewriting all history or removing schema governance does not scale and can create downtime.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

A dataset is stored in S3 as Parquet and queried by Athena using a Glue Data Catalog table. You need to ensure that analysts can query only the last 30 days by adding a mandatory filter, and also restrict access by department. What is the best mechanism combination?

View question →

A Redshift cluster runs complex joins on a large fact table with multiple dim tables. You observe high query runtime variance and frequent disk spills. Which strategy most directly improves performance and reduces spills while staying within reasonable maintenance effort?

View question →

In a data pipeline using AWS Glue and Redshift, you need to ensure exactly-once semantics for ingesting late-arriving records arriving with an event-time timestamp and possible duplicates. Which combination best addresses deduplication and ordering guarantees?

View question →

You are migrating a legacy on-prem data warehouse to AWS. The old system uses incremental loads based on a “high-water mark” timestamp column, but late updates can change records for earlier times. In AWS, which ingestion strategy best preserves correctness without requiring full reloads?

View question →

A customer requires that personally identifiable information (PII) be masked in curated analytics but still available for a limited set of authorized users. Which AWS-native approach best supports column-level masking with role-based access and auditable governance?

View question →

A Glue ETL job reads from an S3 source with Parquet, applies transformations, and writes results to S3 as partitioned Parquet. You notice that new partitions appear, but queries using Athena sometimes return incomplete results until the next day. What is the most likely root cause and mitigation?

View question →

QuestionBack to list