-
- Downloads
Ensure :effective-type for columns from an aggregation in a card (#47936)
* Ensure :effective-type for columns from an aggregation in a card Fixes #47184 * Synchronize effective-type with the base-type on override When :base-type in the column metadata is overridden with the :base-type in the field ref, set it as :effective-type too. If :effective-type is also set in the field ref, it wins.
Showing
- src/metabase/api/query_metadata.clj 1 addition, 2 deletionssrc/metabase/api/query_metadata.clj
- src/metabase/lib/card.cljc 28 additions, 25 deletionssrc/metabase/lib/card.cljc
- src/metabase/lib/field.cljc 1 addition, 1 deletionsrc/metabase/lib/field.cljc
- test/metabase/lib/card_test.cljc 22 additions, 0 deletionstest/metabase/lib/card_test.cljc
- test/metabase/lib/field_test.cljc 1 addition, 0 deletionstest/metabase/lib/field_test.cljc
Please register or sign in to comment