COMPUTE THE MAX OF ALL THE VALUES IN THE KEYVALUE

Scans all values in a key-value pair collection and returns the single maximum numeric value. Use this worker whenever you need to extract the largest value across all entries of a keyvalue object within a workflow.

When to use

Classification: process.

Tagged: aggregate, keyvalue, max, statistics, transform.

Inputs

Label ID Type Default Required Description
Keyvalue 1 kv1 keyvalue   Input key-value collection whose numeric values will be scanned; all entries must be numeric (or coercible to numeric) — leave unconnected if the upstream keyvalue is optional and no max is needed.

Outputs

Label ID Type Description
keyvalue_value_max_output_1 keyvalue_value_max_output_1 scalar Scalar representing the maximum numeric value found across all entries of the input key-value collection.

Disciplines

  • data.dataset.transform
  • data.statistics

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=keyvalue_value_max


Auto-generated from transformation schema. Worker id: keyvalue_value_max. Schema hash: 3dc3213813f1. Hand-curated docs in workerexamples/ override this page when present.