HomeInterview QuestionsWhat is the default compression codec used by Parq…

What is the default compression codec used by Parquet? If you store data in Parquet, is it encrypted by default? What compression technique does it use by default?

🟢 Easy Conceptual Fresher level
1Times asked
Aug 2026Last seen
Aug 2026First seen

💡 Model Answer

Parquet’s default compression codec is Snappy, chosen for its balance between speed and compression ratio. Parquet files are not encrypted by default; they are stored as plain files on the underlying storage (e.g., HDFS, S3). If encryption is required, you can enable it at the file or column level using tools like AWS S3 Server‑Side Encryption (SSE‑S3, SSE‑KMS) or Hadoop’s Transparent Data Encryption. The compression is applied per column chunk, so each column can be compressed independently, which helps with column‑arithmetic and reduces I/O.

This answer was generated by AI for study purposes. Use it as a starting point — personalize it with your own experience.

🎤 Get questions like this answered in real-time

Assisting AI listens to your interview, captures questions live, and gives you instant AI-powered answers on a discreet on-screen overlay.

Get Assisting AI — Starts at ₹500