Skip to content
Snippets Groups Projects
Commit 5b665130 authored by Simon Belak's avatar Simon Belak
Browse files

Make smart scalars play nice with unix timestamps

parent 23048e6f
Branches
Tags
No related merge requests found
(ns metabase.sync.analyze.fingerprint.insights
"Deeper statistical analysis of results."
(:require [kixi.stats.core :as stats]
[metabase.models.field :as field]
[metabase.sync.analyze.fingerprint.fingerprinters :as f]
[redux.core :as redux]))
......@@ -77,6 +78,7 @@
(cond
(datetime-truncated-to-year? field) :datetimes
(metabase.util.date/date-extract-units unit) :numbers
(field/unix-timestamp? field) :datetimes
(isa? base_type :type/Number) :numbers
(isa? base_type :type/DateTime) :datetimes
:else :others))))]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment