/
Average function
Average function
Note: The Average function was introduced in CDAP 6.8.0.
Returns the average of each row in multiple columns.
Namespace
arithmetic
Input
Numeric values
Output
Double values
Syntax
set-column :column arithmetic:average(column1, column2, column3)
Example
Returns the average number of days to close a support ticket in jan, feb, mar and outputs the results to a new column avg_days_to_close
:
set-column :avg_days_to_close arithmetic:average(jan, feb, mar)
, multiple selections available,
Related content
Catalog Lookup directive
Catalog Lookup directive
Read with this
Operational Statistics parameters (cdap-site.xml and cdap-default.xml)
Operational Statistics parameters (cdap-site.xml and cdap-default.xml)
More like this
CDAP Release 6.8.0
CDAP Release 6.8.0
Read with this
Metrics parameters (cdap-site.xml and cdap.default.xml)
Metrics parameters (cdap-site.xml and cdap.default.xml)
More like this
Using Triggers
Using Triggers
Read with this
Multiply function
Multiply function
More like this
Created in 2020 by Google Inc.