Kater CLI Present and share promotion
kater promotion
Asks the data team to move a field or a filter of your workspace into a shared model, and follows your requests.
When the data team approves, your definition becomes a reference to the shared field, so everyone reads one definition. The admin commands decide the requests. See Promotion and verification.
Commands
| Command | What it does |
|---|---|
kater promotion request | Ask the data team to promote a field into a shared model. |
kater promotion list | List your promotion requests and their state. |
kater promotion show | One of your promotion requests. |
kater promotion withdraw | Withdraw a request that is still pending. |
kater promotion admin | Decide promotions, for whoever administers access. |
Before you start
- Sign in. These commands call the Kater API as you. Sign in with
kater login. - Give paths from the content root. A path starts with
connections/, such asconnections/snowflake_prod_connection/workspaces/ad_reporting/query_contracts/spend_by_platform.sql. - Ids come from the lists. The examples write an id as
00000000-0000-0000-0000-000000000000. Use an id thatkater promotion listgives.
Formula columns
For a worksheet’s formula column, add --promote-as measure or --promote-as dimension to the request: the kind the formula can be.
Promote inside your workspace
To move a query’s field to its own workspace root, use kater model promote. That needs no approval.
Examples
# Ask the data team to share revenue_per_customer from the region_mix querykater promotion request connections/duckdb_sample/workspaces/shop/query_contracts/region_mix.sql revenue_per_customer --reason "Finance and marketing both report revenue per customer."# List your requests that wait for a decisionkater promotion list --status pending# Show one of your requestskater promotion show 00000000-0000-0000-0000-000000000000