HavingCondition: {
    column: string;
    function: AggregationType;
    operator: FilterOperator;
    type: "aggregate";
    value: FilterValue;
} | {
    conditions: HavingCondition[];
    type: "and";
} | {
    conditions: HavingCondition[];
    type: "or";
}

Structured HAVING condition