The SQL statements supported by Chalk SQL.
Chalk SQL supports a focused set of SQL statements built around reading and introspecting data across your Chalk environment. Each page in this section documents one statement in detail, including its clauses, restrictions, and examples.
| Statement | Description |
|---|---|
SELECT | Query data from data sources, the offline store, and the Chalk catalog |
DESCRIBE / SHOW | Inspect the schema of a table or query, or list available tables |
EXPLAIN | Show the physical plan for a statement, optionally with execution statistics |
COPY ... TO | Write the result of a query to Parquet, CSV, or Iceberg files |
For the full list of scalar, aggregate, and table-valued functions available in Chalk SQL expressions, see the Chalk SQL function reference.
;-separated statements returns an error.COPY ... TO,
which exports query results to files without modifying any source."catalog.schema.table" name, for example
SELECT * FROM "chalk.online_store.keys". See
Referencing the Chalk Catalog.