Data Store Management

An S3 dataset uses non-Hive-style partition paths, and a daily manifest lists added and deleted partitions with their values and locations. Athena must reflect both changes without scanning S3 or changing the table schema; what should the engineer do?

Show the answer

Correct answerD. Use Glue batch partition APIs to apply the manifest.

AWhy not this: MSCK REPAIR TABLE expects Hive-style paths for discovery and does not remove stale partition metadata.

BWhy not this: Partition projection calculates partitions at query time; it does not synchronize Glue partition entries with the manifest.

CWhy not this: Crawling only new folders does not reconcile deleted partitions and still requires discovery.

DWhy this is right: BatchCreatePartition and BatchDeletePartition apply the manifest's additions and deletions without scanning S3.

Glue batch partition APIs can register additions and remove deleted partition metadata directly from the manifest without scanning S3. MSCK REPAIR TABLE discovers Hive-style partitions and does not remove stale partition entries.