              [3  39]
              [4  24]]
    :columns [(data/format-name "price")
-             (if (= *engine* :redshift) "my cool metric" "My Cool Metric")]}
+             (driver/format-custom-field-name *driver* "My Cool Metric")]}
   (tu/with-temp Metric [metric {:table_id   (data/id :venues)
                                 :definition {:aggregation [[:sum [:field-id (data/id :venues :price)]]]
                                              :filter      [:> [:field-id (data/id :venues :price)] 1]}}]

             [3  39]
             [4  24]]
   :columns [(data/format-name "price")
             (if (= *engine* :redshift) "my cool metric" "My Cool Metric")]}
  (tu/with-temp Metric [metric {:table_id   (data/id :venues)
                                :definition {:aggregation [:sum [:field-id (data/id :venues :price)]]
                                             :filter      [:> [:field-id (data/id :venues :price)] 1]}}]

             [3  52]
             [4  30]]
   :columns [(data/format-name "price")
             (driver/format-custom-field-name *driver* "New Price")]} ; Redshift annoyingly always lowercases column aliases
  (format-rows-by [int int]
    (rows+column-names (data/run-query venues
                         (ql/aggregation (ql/named (ql/sum (ql/+ $price 1)) "New Price"))
