Chalk SQL
Discover catalogs, schemas, tables, functions, and models in your environment.
chalk.information_schema schemaQuery catalogs, schemas (also available as schemata), tables, and functions to discover
which objects are available in your environment. Browse signatures and examples in the
built-in function reference.
The models and compute_functions views list deployed
models and Chalk Functions.
See Call Chalk Functions from SQL for invocation examples.
-- Which models can this environment call, and what do they return?
SELECT model_name, qualified_name, output_type FROM "chalk.information_schema.models";
-- The same for deployed external functions.
SELECT function_name, qualified_name, output_type FROM "chalk.information_schema.compute_functions";
Both views share a schema:
model_name / function_name — the registered name.qualified_name — the name to pass to F.catalog_call, i.e. model.<name> or function.<name>.endpoint_uri — the gateway endpoint the call is routed to.method_name — the method invoked on the remote service.output_type — the SQL type the handler returns, or NULL when the deployment did not
register one.These views list what the running deployment was told about. An environment whose catalog snapshot predates per-entry kind information shows entries in neither view until its next deploy.