Skip to content
Snippets Groups Projects
Commit c3fed41f authored by Ryan Senior's avatar Ryan Senior
Browse files

Switching binning metadata to use underscores

parent cf862c53
No related branches found
No related tags found
No related merge requests found
......@@ -47,9 +47,9 @@
metabase.query_processor.interface.BinnedField
(let [nested-field (:field this)]
[(assoc nested-field :binning-info {:binning-strategy "num-bins"
:bin-width (:bin-width this)
:num-bins (:num-bins this)})])
[(assoc nested-field :binning_info {:binning_strategy "num-bins"
:bin_width (:bin-width this)
:num_bins (:num-bins this)})])
metabase.query_processor.interface.Field
(if-let [parent (:parent this)]
......
......@@ -115,7 +115,7 @@
(expect-with-non-timeseries-dbs
(merge (venues-col :latitude)
{:min_value 10.0646, :source :breakout,
:max_value 40.7794, :binning-info {:binning-strategy "num-bins", :bin-width 10.23827, :num-bins 3}})
:max_value 40.7794, :binning_info {:binning_strategy "num-bins", :bin_width 10.23827, :num_bins 3}})
(tu/with-temporary-setting-values [breakout-bins-num 3]
(-> (data/run-query venues
(ql/aggregation (ql/count))
......
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