Changes deferred Metric predicates to use a LEFT JOIN if they are only for sorting, not filtering
Fixes SqlGrouping#getSum to return a real aggregate across all dimensions instead of just the null dimension.
Merge branch 'release/2.1'