diff --git a/src/metabase/query_processor/annotate.clj b/src/metabase/query_processor/annotate.clj index 450a533ea27b1bdcdf251f46f4fc74337a8aaa84..3138b09f88ef0907b6ad649e126183ba51c90007 100644 --- a/src/metabase/query_processor/annotate.clj +++ b/src/metabase/query_processor/annotate.clj @@ -69,7 +69,10 @@ :field-display-name (humanization/name->human-readable-name (:field-name this)))] metabase.query_processor.interface.ExpressionRef - [(assoc this :field-display-name (:expression-name this))] + [(assoc this + :field-display-name (:expression-name this) + :base-type :type/Float + :special-type :type/Number)] ;; for every value in a map in the query we'll descend into the map and find all the fields contained therein and mark the key as each field's source. ;; e.g. if we descend into the `:breakout` columns for a query each field returned will get a `:source` of `:breakout`