                         (post-process query-type)
                         remove-bonus-keys)
         columns    (vec (keys (first results)))]
-    (log/error "THIS Query from execute-query")    
-    (log/error query) 
-    (log/error "THIS result from execute-query")    
-    (log/error results)
-
     {:columns   columns
      :rows      (for [row results]
                   (mapv row columns))

                     :settings (:settings query))]
    (binding [*query* mbql-query]
      (let [[query-type druid-query] (build-druid-query mbql-query)]
        (log/error "THIS Query from tonative")    
        (log/error druid-query)
        {:query      druid-query
         :query-type query-type}))))


(defn- build-druid-query [query]
  {:pre [(map? query)]}
  (let [query-type (druid-query-type query)]
    (loop [druid-query (query-type->default-query query-type), [f & more] [handle-source-table
                                                                           handle-aggregation
                                                                           handle-breakout
