diff --git a/src/metabase/sync/analyze/fingerprint/insights.clj b/src/metabase/sync/analyze/fingerprint/insights.clj index 2e6e4d2e0bf3d89ffea26ec455535e14c0d0debe..5754c6e4f70ca1b8e483767bf4e2d9cb39820397 100644 --- a/src/metabase/sync/analyze/fingerprint/insights.clj +++ b/src/metabase/sync/analyze/fingerprint/insights.clj @@ -171,7 +171,7 @@ ;; unit=year workaround. While the field is in this case marked as :type/Text, ;; at this stage in the pipeline the value is still an int, so we can use it ;; directly. - (comp (stats/somef ms->day) #(nth % x-position)))] + #(some-> % (nth x-position) t/date-time t.coerce/to-long ms->day))] (apply redux/juxt (for [number-col numbers] (redux/post-complete