OptionaldefinitionJinja template for a SQL expression that specifies how to compute the metric. See create metric definition.
OptionalinputA list of column names in the input table the metric should be computed for.
Can use ":table" to indicate that the metric needs information from multiple columns.
OptionalnameName of the metric in the output tables.
OptionaloutputThe output type of the custom metric.
OptionaltypeThe type of the custom metric.
Custom metric definition.