Use catalog.schema.table to reference a table in Chalk SQL. For example, in chalk.online_store.keys, chalk is the catalog, online_store is the schema, and keys is the table.

To invoke deployed functions in a query, see Call Chalk Functions from SQL.

​
Available tables

Chalk exposes its own views in the chalk catalog. The offline_store catalog and each supported, named data source are top-level catalogs alongside chalk. The tables you can query depend on your deployment and connected stores.

What you want to queryExample table
Online store keys or the latest stored features for an entitychalk.online_store.keys or chalk.online_store.user
Historical observations for a featurechalk.historical_values."user.name"
Results from the latest revision of a named datasetchalk.datasets.my_users_dataset
Spans, traces, or agent sessionschalk.telemetry.spans
Schedules or run historychalk.jobs or chalk.job_runs
Recorded query metadatachalk.query_log.data
Tables in the warehouse backing your offline storeoffline_store.my_schema.my_table
Tables in a connected database or warehousemy_postgres.public.users or my_bigquery.my_dataset.transactions

​
Find tables in your environment

Open the Databases tab in the SQL Explorer to browse catalogs, schemas, tables, and columns. In SQL, run SHOW TABLES to list tables. Query chalk.information_schema.tables to filter by catalog or schema.

SELECT
  catalog_name,
  schema_name,
  table_name
FROM
  chalk.information_schema.tables
WHERE
  catalog_name = 'chalk'
  AND schema_name = 'online_store'
ORDER BY
  table_name;

Use DESCRIBE chalk.online_store.keys to inspect the columns of that table when the online store exposes it.