Add tables pre-fetching to dashboard load (#45107)
* Move collect-source-tables to util * Add table prefetching * Add test comparing call counts of select * Update comment * Add exception handling * Add nil handling * Handle possibye empty table-ids * Update exception handling and test case * Update src/metabase/models/card.clj Co-authored-by:Braden Shepherdson <braden@metabase.com> --------- Co-authored-by:
Braden Shepherdson <braden@metabase.com>
Showing
- src/metabase/api/query_metadata.clj 1 addition, 9 deletionssrc/metabase/api/query_metadata.clj
- src/metabase/lib/util.cljc 9 additions, 0 deletionssrc/metabase/lib/util.cljc
- src/metabase/models/card.clj 26 additions, 0 deletionssrc/metabase/models/card.clj
- test/metabase/api/dashboard_test.clj 41 additions, 0 deletionstest/metabase/api/dashboard_test.clj
Loading
Please register or sign in to comment