Kater CLI Build an analysis filter
kater filter list
With --json, a key field's condition also carries key: {kind, dataset}.
The filter’s values says typed or listed; its condition’s values is the actual list of values. A plain WHERE condition keeps its own identity key separately.
Lists every filter that holds the rows of a query or a workspace, and each plain WHERE condition, which is always on. For each filter, it shows its name, its label, its home, its switch, its condition in words and its call as its file writes it.
Examples
# Go to the ad_reporting workspace in your local copy of Kater contentcd connections/snowflake_prod_connection/workspaces/ad_reporting# List the query's filterskater filter list paid_media_spend_trend# List the workspace's filterskater filter list .# Get each filter as JSONkater filter list paid_media_spend_trend --jsonArguments
Options
It also takes the global options anywhere on the line, and --help.
The JSON
With --json, each filter has the same shape: name, label, home, kind, required, on, condition (its field, operation, parameters and values), words, operations (each condition that its field takes, with its flag) and text. A plain WHERE condition has the kind where. A filter written as SQL has the kind sql, and gives its parts in place of a condition.