Skip to content
Snippets Groups Projects
Commit 4e5b6588 authored by Cam Saül's avatar Cam Saül
Browse files

Merge pull request #428 from metabase/fallback_to_unknown_type_for_driver_types

fallback to :UnknownType for Fields of an unknown type 
parents ee8b084a 20c431ea
Branches
Tags
No related merge requests found
......@@ -27,8 +27,9 @@
[v]
(if-not v :UnknownField
(or (driver/class->base-type (type v))
(throw (ApiException. (int 500) (format "Missing base type mapping for %s in driver/class->base-type. Please add an entry."
(str (type v))))))))
(do (log/warn (format "Missing base type mapping for %s in driver/class->base-type. Please add an entry."
(str (type v))))
:UnknownField))))
(defn process-and-run
"Process and run a native (raw SQL) QUERY."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment