• E
    Include selects in group query with having clause · 18125683
    Eugene Kenny 提交于
    When a grouped calculation contains a having clause that references a
    selected value, we need to include that selected value in the query.
    
    Postgres doesn't support referencing a selected value in a having
    clause, but other databases do; we can skip the test on the pg adapter
    but run it for the others.
    
    This was fixed before in 9a298a16, but
    the test coverage was lost in 5a05207d.
    The fix regressed in 6311975f and was
    removed in 97d46c17.
    18125683
calculations.rb 13.6 KB