{
"aggregate": "AVG",
"column": {
"column_name": "mycol",
"type": "BIGINT"
},
"expressionType": "SIMPLE",
"hasCustomLabel": true,
"label": "Weighted observations",
"optionName": "metric_aec60732-fac0-4b17-b736-93f1a5c93e30",
"sqlExpression": "SUM(weight * observations) / SUM(weight)"
}