---
title: "Loading Parquet data into MySQL with ClickHouse"
description: "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(...)`."
url: "https://swe.quest/articles/loading-parquet-data-into-mysql-with-clickhouse-e9a6bbccc1c8e2b3"
canonical: "https://clickhouse.com/blog/parquet-to-mysql-with-clickhouse"
source: "ClickHouse"
published: "2026-09-10"
difficulty: "medium"
kind: "How-to"
reading_minutes: 6
tags: ["mysql","data-pipelines","sql"]
---

# Loading Parquet data into MySQL with ClickHouse

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-09-10, 6 min read, How-to. Original: [https://clickhouse.com/blog/parquet-to-mysql-with-clickhouse](https://clickhouse.com/blog/parquet-to-mysql-with-clickhouse)

## Summary

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(...)\`. In the walkthrough, 2.3M StackOverflow vote rows load in about 16.6 seconds using roughly 227 MiB of memory. The same \`mysql\` table function can query MySQL back. An inline subquery is written in ClickHouse SQL and rewritten into MySQL syntax, while the \`query()\` form is sent to MySQL verbatim, so ClickHouse-only functions like \`tuple\` fail there. Credentials can be kept in config-defined named collections instead of being passed on every call.

Written by swe.quest, not by the author.

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

## Topics

- [MySQL](https://swe.quest/tags/mysql.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))
- Docker basics ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))

## Keywords

ClickHouse, clickhouse-local, MySQL, Parquet, table functions, named collections

## Related posts

- [A Deep Dive into Apache Parquet with ClickHouse - Part 1](https://swe.quest/articles/a-deep-dive-into-apache-parquet-with-clickhouse-part-1-cafa50694ad68bf6.md): ClickHouse · 2023-04-18 · Medium · 11 min read · Analytics & OLAP, Data pipelines, SQL
  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.
- [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.
- [ClickHouse is data lake ready](https://swe.quest/articles/clickhouse-is-data-lake-ready-bebd3b2969b76478.md): ClickHouse · 2026-03-25 · Medium · 13 min read · Analytics & OLAP, Data pipelines, SQL, Query engines
  ClickHouse now queries Apache Iceberg and Delta Lake tables in place on S3, GCS and Azure, either directly or through catalogs such as AWS Glue, Unity, Polaris, BigLake, OneLake and Iceberg REST.
- [How LINE MANGA used ClickHouse to enable real-time analysis without moving a single row](https://swe.quest/articles/how-line-manga-used-clickhouse-to-enable-real-time-analysis-without-moving-a-542da6f6b53d1c64.md): ClickHouse · 2025-06-16 · Easy · 5 min read · Analytics & OLAP, MySQL, Distributed databases, Developer productivity
  LINE MANGA uses ClickHouse as a federated query layer over its horizontally and vertically sharded MySQL fleet, querying data in place rather than ingesting it.
- [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.

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)
