​
The offline_store catalog

The offline store is available as a catalog. Similar to data sources as catalogs, this catalog works as a direct interface to querying the underlying database that powers it.

​
Data sources as catalogs

Chalk exposes each supported, named data source as a top-level catalog. The catalog shares the name of the data source.

Use the registered source name as the first part of the table name in new queries. For example, my_postgres.public.users is a table in the top-level my_postgres catalog. You can also use datasources.my_postgres.public.users. Older queries may use the chalk.datasources schema on deployments that expose it.

Data sources that are not named will not be registered in the Chalk Catalog.

See Join tables across data sources for a query across PostgreSQL and BigQuery.

The following data source types will be registered to the Chalk Catalog, and will be able to be queried in Chalk SQL:

  • PostgreSQL
  • Spanner
  • Athena
  • MySQL
  • ClickHouse
  • BigQuery
  • Redshift
  • Snowflake
  • Databricks