Skip to main content
On this page

Kater CLI Build an analysis workspace source

kater workspace source

Sets the shared model that a workspace reads, or changes it to another one.

A workspace reads one shared model, and its queries read the workspace.

Commands

CommandWhat it does
kater workspace source useGive a workspace its shared model, or another one.

Examples

Terminal window
# Make the ad_reporting workspace read the shared ad_reporting model
kater workspace source use semantic.ad_reporting --scope connections/snowflake_prod_connection/workspaces/ad_reporting
# See what changes when it reads the campaign report model, and save nothing
kater workspace source use semantic.ad_reporting__campaign_report --scope connections/snowflake_prod_connection/workspaces/ad_reporting --dry-run

See also