Which data file format fits (CSV/JSON/XML vs Avro vs Parquet)

Verdict: Pick delimited text, JSON, or XML for human-readable exchange across many applications. Pick Avro for write-optimised row storage with a JSON schema header. Pick Parquet for read-optimised columnar analytics.

CriterionCSV/JSON/XMLAvroParquet
StructureHuman-readable text, structured or semi-structuredOptimised binary, row-basedOptimised binary, columnar
Optimised forWide, human-readable access across many applicationsCompression and reduced storage/network bandwidth (writes)Column scans and compression (analytics reads)
SchemaCSV: none; JSON/XML: self-describing tags/pairsJSON header at file start describing the record structureN/A; values for each column stored together in row groups

Rules

Traps