What problem does it solve?
This Skill eliminates the need to deploy and maintain a standalone ClickHouse server to run SQL queries, letting you analyze data directly in your Python environment with zero infrastructure overhead.
Core Features & Use Cases
- Cross-Source SQL Querying: Run ClickHouse SQL queries on local files (Parquet, CSV, JSON), remote databases (MySQL, PostgreSQL), cloud storage (S3, GCS), and data lakes (Iceberg, Delta Lake) in a single query.
- Stateful Analytical Pipelines: Build persistent or in-memory analytical workflows with Session objects that maintain table state across multiple queries.
- Advanced SQL Support: Use parametrized queries, window functions, user-defined functions (UDFs), and cross-source joins for complex analytical tasks. For example, join MySQL customer data with S3-stored Parquet order records to calculate per-customer revenue without moving data between systems.
Quick Start
Use the chdb-sql skill to run a SQL query that joins your local 'customers.parquet' file with a remote MySQL 'orders' table to calculate total sales per customer.