Skip to content
Snippets Groups Projects
Unverified Commit 074cc50f authored by Cam Saul's avatar Cam Saul
Browse files

Remove unused log-results-metadata middleware

parent a16ed561
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,6 @@
log-query/log-initial-query
;; TODO - bind `*query*` here ?
cache/maybe-return-cached-results
log-query/log-results-metadata
validate/validate-query
normalize/normalize
catch-exceptions/catch-exceptions
......
......@@ -16,16 +16,3 @@
"Middleware for logging a query when it is very first encountered, before it is expanded."
[qp]
(comp qp log-initial-query*))
(defn- log-results-metadata* [results]
(u/prog1 results
(when-not i/*disable-qp-logging*
(log/debug "Result Metadata:\n"
(u/pprint-to-str 'blue (for [col (get-in <> [:data :cols])]
(m/filter-vals (complement nil?) col)))))))
(defn log-results-metadata
"Middleware that logs the column metadata that comes back with the results."
[qp]
(comp log-results-metadata* qp))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment