hyperlakeDiscuss a deployment ↗
Videos · 1:57

What is Apache Parquet

Apache Parquet is a columnar file format that reduces analytical reads, improves compression, and lets query engines skip irrelevant row groups.

In the full article

  1. How does Parquet skip irrelevant row groups?
  2. Why is Apache Parquet used in data lakehouses?
  3. How does Parquet reduce data reads and improve compression?
  4. What is Apache Parquet?
  5. How Hyperlake helps
  6. Frequently asked questions
Read the transcript

Auto-generated captions; wording may contain recognition errors.

Most analytical data systems deal with tables that have many columns, but where any given query only needs a small subset of them. A sales table might have 50 columns. A query calculating monthly revenue by region might touch three. How data is physically stored on disk determines whether reading those three columns requires touching the other 47. Apache parquet is a columner storage format designed to make this efficient. Rather than storing each row as a contiguous unit on disk, Parket stores each column as a contiguous unit. A query that needs three columns reads three column stripes. The other 47 are not read at all. This layout has compounding benefits beyond IO reduction. Columnar storage enables better compression because values within a column tend to have similar types and often similar values which compression algorithms exploit more effectively than mixed type row data. A column of timestamps compresses far more efficiently than a row containing a mix of strings, numbers, and timestamps together. Parket also stores statistics about each column at the row group level. Minimum values, maximum values, and null counts. Query engines read these statistics before opening any data and skip entire row groups whose value ranges cannot satisfy the query predicate. This is called predicate pushdown and on large tables it eliminates the majority of data reads before any decompression happens. Paret is a self-describing format. Schema information is embedded in the file footer alongside the statistics. A reader does not need an external schema registry to understand what a parquet file contains. These properties together make Parquet the default storage format for data lakeouses, open table formats like Apache iceberg and analytical engines that need to scan large data sets efficiently.

Start with a workload. Build the environment around it.

Explore example deployments, or see how the platform assembles, deploys, governs and operates the stack.