Skip to content
Snippets Groups Projects
Commit 30d94bd9 authored by Cam Saül's avatar Cam Saül Committed by GitHub
Browse files

Merge pull request #3265 from metabase/fix-reflection-warning

Fix reflection warning from #3032 :wrench: :warning:
parents 69b173aa 3d1f9aa7
No related branches found
No related tags found
No related merge requests found
(ns metabase.driver.druid.query-processor
(:require [clojure.core.match :refer [match]]
[clojure.math.numeric-tower :as math]
[clojure.string :as s]
[clojure.tools.logging :as log]
[cheshire.core :as json]
......@@ -559,7 +560,7 @@
[columns]
(vec (for [k columns]
(case k
:distinct___count (comp #(Math/round %) k)
:distinct___count (comp math/round k)
:timestamp___int (comp (fn [^String s]
(when (seq s)
(Integer/parseInt s)))
......
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