Skip to main content
On this page

Kater CLI Present and share promotion admin

kater promotion admin move-up

Starts to move a shared model's own field up to a shared model it reads.

It opens a promotion, or opens the one that a scan already recommends for the same definition. Kater drafts and checks the change, and writes nothing until you apply it.

Examples

Terminal window
# Start to move is_identified up to the nearest level
kater promotion admin move-up connections/snowflake_prod_connection/modeling/kater_objects/semantic_models/marketing/MARKETING_SESSIONS.sql is_identified
# Start to move it up to the GA4 Sessions model
kater promotion admin move-up connections/snowflake_prod_connection/modeling/kater_objects/semantic_models/marketing/MARKETING_SESSIONS.sql is_identified --level connections/snowflake_prod_connection/modeling/kater_objects/semantic_models/marts/GA4_SESSIONS.sql

Arguments

ArgumentDescription
<path>The shared model’s file, from the content root.
<field>The field to move up. The model must define it itself.

Options

OptionDescription
--level <path>The file of the level it goes to, as kater promotion admin levels lists them. Without it, the field goes to the nearest level.

It also takes the global options --json, --kater-root, --scope and --help.

What happens next

Kater drafts the change and checks it on the warehouse. Follow it with kater promotion admin show. Then write it with kater promotion admin apply. A promotion that was dismissed or applied opens again and gets a new draft.

See also