Skip to main content
On this page

Kater CLI Build an analysis filter

kater filter split

Writes a filter that is an AND of conditions as one filter for each condition, in its place, as Split into filters does.

Each new filter takes its field’s name and label, and keeps the filter’s switch.

Examples

Terminal window
# Go to the ad_reporting workspace in your local copy of Kater content
cd connections/snowflake_prod_connection/workspaces/ad_reporting
# Show the filters that the split writes, and write nothing
kater filter split paid_media_spend_trend big_google
# Split the filter
kater filter split paid_media_spend_trend big_google --write

Arguments

ArgumentDescription
<place>The query, as <workspace>/<name>, its key or its id, or the workspace, by its folder, its key or its id. Never a file.
<name>The filter written as SQL, by its name.

Options

OptionDescription
--writeWrites the filters. Without it, the command shows the SQL that it writes, as a diff, and what it reaches.

It also takes the global options anywhere on the line, and --help.

See also