Skip to content
Snippets Groups Projects
Unverified Commit 60d820b6 authored by Simon Belak's avatar Simon Belak Committed by GitHub
Browse files

Merge pull request #8660 from metabase/smartscalars-support-unix-timestamps

Make smart scalars play nice with unix timestamps
parents 23048e6f 5b665130
No related branches found
No related tags found
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.
Finish editing this message first!
Please register or to comment