diff --git a/src/metabase/sync/analyze/fingerprint/fingerprinters.clj b/src/metabase/sync/analyze/fingerprint/fingerprinters.clj index 296003449db16dec24d0d196bcdd16544de8752e..ed2b27b0ab3131a7e5cf9bf5e4f412a984089c22 100644 --- a/src/metabase/sync/analyze/fingerprint/fingerprinters.clj +++ b/src/metabase/sync/analyze/fingerprint/fingerprinters.clj @@ -53,15 +53,14 @@ (.offer acc x) acc)) -(defmulti - ^{:doc "Return a fingerprinter transducer for a given field based on the field's type." - :arglists '([field])} - fingerprinter (fn [{:keys [base_type special_type unit] :as field}] - [(cond - (du/date-extract-units unit) :type/Integer - (field/unix-timestamp? field) :type/DateTime - :else base_type) - (or special_type :type/*)])) +(defmulti fingerprinter + "Return a fingerprinter transducer for a given field based on the field's type." + (fn [{:keys [base_type special_type unit] :as field}] + [(cond + (du/date-extract-units unit) :type/Integer + (field/unix-timestamp? field) :type/DateTime + :else base_type) + (or special_type :type/*)])) (def ^:private global-fingerprinter (redux/post-complete