-
- Downloads

backported "Pivot Export Aggregations Improved and Won't Error" (#50532)

* Pivot Export Aggregations Improved and Won't Error (#50380) * Pivot Export Aggregations Improved and Won't Error Fixes #50207 WIP - Totals now have appropriate aggregation implementation - Totals for different row and column partial paths could collide before (eg. if a pivot-col value was equal to the - measure idx), now the paths are unique and will not collide, causing errors * add a test * multiple measures need to have the correct order in each row * clean up, add some comments explaining totals paths * fix tests * add test to show add-rows working correctly after :rows-part :cols-part added * tap tap tap --------- Co-authored-by:adam-james <21064735+adam-james-v@users.noreply.github.com> Co-authored-by:
Adam James <adam.vermeer2@gmail.com>
Showing
- src/metabase/query_processor/pivot/postprocess.clj 98 additions, 28 deletionssrc/metabase/query_processor/pivot/postprocess.clj
- src/metabase/query_processor/streaming/csv.clj 16 additions, 1 deletionsrc/metabase/query_processor/streaming/csv.clj
- test/metabase/api/downloads_exports_test.clj 104 additions, 1 deletiontest/metabase/api/downloads_exports_test.clj
- test/metabase/query_processor/pivot/postprocess_test.clj 102 additions, 13 deletionstest/metabase/query_processor/pivot/postprocess_test.clj
Please register or sign in to comment