          :data {:rows [[203]]
                 :columns ["sum"]
                 :cols [{:base_type "IntegerField"
-                        :special_type nil
+                        :special_type "category"
                         :name "sum"
                         :id nil
                         :table_id nil


;; ## "FILTER" CLAUSE

(def venues-columns
  (delay ["ID" "CATEGORY_ID" "PRICE" "LONGITUDE" "LATITUDE" "NAME"]))

(def venues-cols
  (delay [{:special_type "id", :base_type "BigIntegerField", :description nil, :name "ID", :table_id (table->id :venues), :id (field->id :venues :id)}
          {:special_type "fk", :base_type "IntegerField", :description nil, :name "CATEGORY_ID", :table_id (table->id :venues), :id (field->id :venues :category_id)}
          {:special_type nil, :base_type "IntegerField", :description nil, :name "PRICE", :table_id (table->id :venues), :id (field->id :venues :price)}
          {:special_type "longitude", :base_type "FloatField", :description nil, :name "LONGITUDE", :table_id (table->id :venues), :id (field->id :venues :longitude)}
          {:special_type "latitude", :base_type "FloatField", :description nil, :name "LATITUDE", :table_id (table->id :venues), :id (field->id :venues :latitude)}
          {:special_type nil, :base_type "TextField", :description nil, :name "NAME", :table_id (table->id :venues), :id (field->id :venues :name)}]))

;; ### FILTER -- "AND", ">", ">="
(expect {:status :completed,
         :row_count 5,

;; ### FILTER -- "INSIDE"
;; TODO - add "NEAR"
(expect
  {:status :completed
   :row_count 1
   :data {:rows [[1 4 3 -165.374 10.0646 "Red Medicine"]]
          :columns @venues-columns
          :cols @venues-cols}}
