---
title: "A Deep Dive into Apache Parquet with ClickHouse - Part 1"
description: "ClickHouse can read and write Apache Parquet through its file and s3 table functions, using the same Parquet code in ClickHouse Local and ClickHouse Server."
url: "https://swe.quest/articles/a-deep-dive-into-apache-parquet-with-clickhouse-part-1-cafa50694ad68bf6"
canonical: "https://clickhouse.com/blog/apache-parquet-clickhouse-local-querying-writing"
source: "ClickHouse"
published: "2023-04-18"
difficulty: "medium"
kind: "How-to"
reading_minutes: 11
tags: ["analytics","data-pipelines","sql"]
---

# A Deep Dive into Apache Parquet with ClickHouse - Part 1

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2023-04-18, 11 min read, How-to. Original: [https://clickhouse.com/blog/apache-parquet-clickhouse-local-querying-writing](https://clickhouse.com/blog/apache-parquet-clickhouse-local-querying-writing)

## Summary

ClickHouse can read and write Apache Parquet through its file and s3 table functions, using the same Parquet code in ClickHouse Local and ClickHouse Server. Examples on a 28M-row UK house price dataset show schema inspection with DESCRIBE and aggregation queries over local files, S3 objects and glob-matched file sets. Writes can go through INSERT INTO FUNCTION, INTO OUTFILE or FORMAT Parquet redirection, and PARTITION BY splits output into one file per year. INSERT INTO FUNCTION produces smaller files (243MB vs 291MB) than the client-side approaches, so it is recommended where possible.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [SQL](https://swe.quest/tags/sql.md) (Languages)

## Prerequisites

- SQL basics ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- columnar storage concepts
- Amazon S3 ([easy posts on Storage systems](https://swe.quest/tags/storage-systems.md?difficulty=easy))

## Keywords

Apache Parquet, ClickHouse, ClickHouse Local, Amazon S3, s3Cluster

## Related posts

- [Getting Data Into ClickHouse - Part 3 - Using S3](https://swe.quest/articles/getting-data-into-clickhouse-part-3-using-s3-3c57bebcb705e26d.md): ClickHouse · 2022-09-16 · Medium · 21 min read · Analytics & OLAP, SQL, Cloud platforms, Performance engineering, Data pipelines
  ClickHouse can both query data in place on Amazon S3 and ingest it, shown here on an 11.5-billion-row, ~600GB forex tick dataset stored as zstd CSV and Parquet.
- [Extracting, Converting, and Querying Data in Local Files using clickhouse-local](https://swe.quest/articles/extracting-converting-and-querying-data-in-local-files-using-clickhouse-local-46ff61f0273cc3b7.md): ClickHouse · 2023-01-04 · Medium · 13 min read · Analytics & OLAP, SQL, Data pipelines, Developer tools
  clickhouse-local runs ClickHouse's SQL engine as a standalone CLI, so you can query, transform and convert local, piped, HTTP, S3, MySQL or Postgres data without deploying a server.
- [A Deep Dive into Apache Parquet with ClickHouse - Part 2](https://swe.quest/articles/a-deep-dive-into-apache-parquet-with-clickhouse-part-2-6aca5ceaeed12095.md): ClickHouse · 2023-04-26 · Medium · 23 min read · Analytics & OLAP, Storage engines, Performance engineering, Data pipelines
  Parquet files are organized into row groups, column chunks and pages, with dictionary, RLE/bit-packing and delta encodings plus footer metadata and min/max statistics that let readers push down projections and predicates.
- [ClickHouse Release 23.8](https://swe.quest/articles/clickhouse-release-23-8-8db1ebb65d969c75.md): ClickHouse · 2023-09-15 · Medium · 10 min read · Analytics & OLAP, Query engines, Data pipelines, Performance engineering
  ClickHouse 23.8 makes file reads much faster by using Parquet row-group min/max statistics to skip data, answering count() from file metadata, and pruning files via the \_file virtual column without reading them.
- [Loading Parquet data into MySQL with ClickHouse](https://swe.quest/articles/loading-parquet-data-into-mysql-with-clickhouse-e9a6bbccc1c8e2b3.md): ClickHouse · 2026-09-10 · Medium · 6 min read · MySQL, Data pipelines, SQL
  MySQL has no native Parquet import, but clickhouse-local can read a Parquet file over HTTP with the \`url\` table function and write it straight into a MySQL table via \`INSERT INTO FUNCTION mysql(...)\`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
