             [metabase.models.field :refer [Field field->fk-table]]))
 
 (declare add-implicit-breakout-order-by
+         add-implicit-limit
          get-special-column-info
          preprocess-cumulative-sum
          preprocess-structured

(def ^:const empty-response
  "An empty response dictionary to return when there's no query to run."
  {:rows [], :columns [], :cols []})


;; # DYNAMIC VARS

         (sequential? (:columns results))
         (sequential? (:cols results))
         (sequential? (:rows results))]}
  (let [num-results (count (:rows results))]
    (cond-> {:row_count (count (:rows results))
             :status    :completed
             :data      results}
      (= num-results max-result-rows) (assoc :num_results_over_limit true)))) ; so the front-end can let the user know why they're being arbitarily limited

;; ### POST-PROCESS

