Skip to main content
On this page

Kater CLI Build an analysis field

kater field values

A large key reads no value list.

It says “Order ID is a key, so no values are listed for it. Give the IDs with —is-one-of.” and gives the sync’s sampled count when known. A key with at most 1,000 values in the sync’s sample can list them; bounds are never read for a key.

Lists a field’s values, with their count, as the filter’s list in Kater shows them. Use it before kater filter add or kater filter change, since they refuse a value that no row holds. The values are read one time and kept for an hour, so only the first read waits for the warehouse. It changes no file.

Examples

Terminal window
# Go to the ad_reporting workspace in your local copy of Kater content
cd connections/snowflake_prod_connection/workspaces/ad_reporting
# List the values of platform, and their count
kater field values paid_media_spend_trend platform
# List only the values that hold the text face, in any case
kater field values paid_media_spend_trend platform --search face
# Show the lowest and the highest spend
kater field values paid_media_spend_trend spend --bounds

Arguments

ArgumentDescription
<place>The query, as <workspace>/<name>, its key or its id; the workspace, by its folder, its key or its id; or a shared model, by its key, its name or its id. Never a file. A model’s name that two connections hold is read in the connection of --scope, else of where you work.
<field>The field, by its name, such as platform, or as alias.name for a field of a source.

Options

OptionDescription
--search <text>Lists only the values that hold this text, in any case.
--boundsShows the lowest and the highest value, for a number or a date.

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

Many values

The list shows at most 1,000 values, and says how many there are, such as “2,000 values. The first 1,000 are shown.”. Use --search to find a value after the first 1,000: it searches the first 50,000 values that are kept, and never the warehouse. For a field of more than 50,000 values, give a value after them whole to kater filter add with --allow-unseen. A field that the place does not have stops the command, which names the fields near it.

See also