The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Optimize u/index-by when used with vf (#66800)
Chris Truter86e5e9d0e042
diff --git a/src/metabase/util.cljc b/src/metabase/util.cljcindex 2a2941ee908..9ffbde6dae5 100644--- a/src/metabase/util.cljc+++ b/src/metabase/util.cljc@@ -1213,11 +1213,7 @@([kf coll](into {} (index-by kf) coll))([kf vf coll]- (into {}- (comp (index-by kf)- (map (fn [[k v]]- [k (vf v)])))- coll)))+ (into {} (map (juxt kf vf)) coll)))(defn rfirst"Return first item from Reducible"