                 :columns ["USER_ID" "count"],
                 :cols [{:extra_info {:target_table_id (table->id :users)} :special_type :fk, :base_type :IntegerField, :description nil, :name "USER_ID", :table_id (table->id :checkins) :id (field->id :checkins :user_id)}
                        {:base_type :IntegerField, :special_type :number, :name "count", :id nil, :table_id nil, :description nil}]}}
-        (process-and-run {:type :query
-                          :database @db-id
-                          :query {:source_table (table->id :checkins)
-                                  :filter [nil nil]
-                                  :aggregation ["count"]
-                                  :breakout [(field->id :checkins :user_id)]
-                                  :order_by [[(field->id :checkins :user_id) "ascending"]]
-                                  :limit nil}}))
+  (driver/process-query {:type :query
+                         :database @db-id
+                         :query {:source_table (table->id :checkins)
+                                 :filter [nil nil]
+                                 :aggregation ["count"]
+                                 :breakout [(field->id :checkins :user_id)]
+                                 :order_by [[(field->id :checkins :user_id) "ascending"]]
+                                 :limit nil}}))
 
 ;; ### "BREAKOUT" - MULTIPLE COLUMNS W/ IMPLICT "ORDER_BY"
 ;; Fields should be implicitly ordered :ASC for all the fields in `breakout` that are not specified in `order_by`

                        :id nil
                        :table_id nil
                        :description nil}]}}
        (process-and-run {:type :query
                          :database @db-id
                          :query {:source_table (table->id :venues)
                                  :filter [nil nil]
                                  :aggregation ["stddev" (field->id :venues :latitude)]
                                  :breakout [nil]
                                  :limit nil}}))

;; ## "ROWS" AGGREGATION
;; Test that a rows aggregation just returns rows as-is.

                        :id nil
                        :table_id nil
                        :description nil}]}}
  (driver/process-query {:type :query
                         :database @db-id
                         :query {:source_table (table->id :checkins)
                                 :filter [nil nil]
                                 :aggregation ["distinct" (field->id :checkins :user_id)]
                                 :breakout [nil]
                                 :limit nil}}))

;; ## "AVG" AGGREGATION
;; TODO - try this with an integer field. (Should the average of an integer field be a float or an int?)
