Min function

Returns the minimum value for each row in two columns.

Namespaces

  • arithmetic

Input

Numeric values

Output

Numeric values

Syntax

set-column :output_column arithmetic:min(column1,column2)

Example

Returns the minimum price for each row in jan and feb columns and outputs results to a new column min_price:

set-column :min_price arithmetic:min(jan, feb)

Created in 2020 by Google Inc.