Skip to content

Basin SQL

Last updated View as MarkdownAgent setup

Query Apache Iceberg tables managed by Basin Catalog using SQL.

Basin SQL is Cloudflare's serverless, distributed, analytics query engine for querying Apache Iceberg ↗︎ tables stored in Basin Catalog. Basin SQL is designed to efficiently query large amounts of data by automatically utilizing file pruning, Cloudflare's distributed compute, and R2 object storage.

npx wrangler basin sql query "YOUR_WAREHOUSE_NAME" "SELECT * FROM default.transactions LIMIT 10"

Create an end-to-end data pipeline by following this step by step guide, which shows you how to stream events into an Apache Iceberg table and query it with Basin SQL.

Was this helpful?