Comment on page
MAX
Computes the maximum of all input values.
MAX(X)
Type:
numeric
The field to find the maximum value of.
Type:
double
Returns the maximum value of all input values.
CREATE JOB function_operator_example
ADD_MISSING_COLUMNS = true
AS INSERT INTO default_glue_catalog.upsolver_samples.orders_transformed_data MAP_COLUMNS_BY_NAME
SELECT
LOWER(ordertype) as ordertype,
MAX(nettotal) as maxtotal
FROM default_glue_catalog.upsolver_samples.orders_raw_data
WHERE $commit_time BETWEEN run_start_time() - PARSE_DURATION('1d') AND run_end_time()
GROUP BY 1
LIMIT 2;
ordertype | maxtotal |
---|---|
pickup | 4260.36 |
shipping | 4457.55 |
Last modified 1yr ago