Skip to content
Snippets Groups Projects
Commit c0360681 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

Merge pull request #524 from metabase/release-0.9.2

[hotfix] fix errors in QP for Postgres timestamp fields
parents 0bc945da 88785635
No related branches found
No related tags found
No related merge requests found
......@@ -428,9 +428,11 @@
(= col-kw :count) {:base_type :IntegerField
:special_type :number}
;; Otherwise something went wrong !
:else (throw (Exception. (format "Annotation failed: don't know what to do with Field '%s'.\nExpected these Fields:\n%s"
col-kw
(u/pprint-to-str field-kw->field))))))))
:else (do (log/error (u/format-color 'red "Annotation failed: don't know what to do with Field '%s'.\nExpected these Fields:\n%s"
col-kw
(u/pprint-to-str field-kw->field)))
{:base_type :UnknownField
:special_type nil})))))
;; Add FK info the the resulting Fields
add-fields-extra-info)))
......
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