Storage Formats, Partitioning, and Serialization Questions

Physical storage layout for analytics data. Covers columnar and row format internals and their trade-offs (Parquet row groups and column chunks, ORC stripes, Avro), serialization choices, compression codec and column-encoding selection, partitioning and clustering or bucketing strategy including partition-key choice and pruning, the small-file problem and compaction, file-size and row-group tuning, and open table formats (Iceberg, Delta Lake, Hudi) at the layout and metadata level: ACID commits, snapshots and time travel, manifest and metadata-tree structure, schema and partition evolution, and the catalog that tracks them. The scope is how data is laid out on disk and what that layout makes cheap or expensive. Tuning the queries that read it, and choosing which managed platform to run it on, are covered separately.

EasyTechnical
42 practiced

Define predicate pushdown and explain the mechanisms that enable it in Parquet and ORC files. Describe how min/max statistics, page/rowgroup/stripe statistics, dictionary encoding, and Bloom filters help skip data during reads, and give a simple example filtering by a date range.

EasyTechnical
44 practiced

Explain the trade-offs between common data types used in analytics warehouses (e.g., VARCHAR/TEXT, INTEGER, BIGINT, DECIMAL/NUMERIC, TIMESTAMP, BOOLEAN). For each type describe storage considerations, precision/scale trade-offs (money fields), and how choosing types affects compression and query performance in columnar stores (e.g., Parquet on S3, BigQuery, Redshift). When would you prefer storing JSON/nested types vs normalized columns?

HardTechnical
48 practiced

A pipeline writes data to S3 and then a separate job builds Iceberg manifests. Explain the risks of eventual consistency on object stores during writes and how to make writes and metadata commits idempotent and atomic from the perspective of readers.

MediumTechnical
67 practiced

You run a Parquet-based data lake consumed by Spark and Hive. Explain strategies to handle schema evolution (adding/removing columns, renames, nested type changes). Discuss impacts on queries/readers, using Avro/Parquet/ORC logical schemas, schema registry/table formats (Iceberg/Delta), and how to design evolution policies for backward and forward compatibility.

MediumTechnical
81 practiced

Given cloud object storage billing per GET request and per GB read, explain how to set file size targets and partition granularity to balance fewer requests against scanning extra bytes. Provide practical guidance for target sizes and how to adjust for engines that prefer more parallelism.

Unlock Full Question Bank

Get access to all Storage Formats, Partitioning, and Serialization interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.