Alexander Polyankin

Results 183 comments of Alexander Polyankin

Let's re-add the test from [https://github.com/metabase/metabase/pull/62545](https://github.com/metabase/metabase/pull/62545) and make sure it passes

@LbISbIi do you still have the same issue? If yes, would it be possible for you to sure responses for `/api/card/:id` and `/api/card/:id/query_metadata` so that we can investigate the issue...

Repro test added in https://github.com/metabase/metabase/pull/60943. Note - the FE sends `result_metadata: null` in the test because metadata is not up to date with the query.

Can repro on v57. The BE should use `:lib/desired-column-alias` for matching metadata

Can be reproduced in master `ad256b6e5c51467f4b6b6c9604b9cf1f765003fe`, pre-56

@Daniel270309 could you send the response for `GET /api/card/:id` and `GET /api/card/:id/query_metadata` endpoints? You could copy it from the browser network tab in developer tools. I wasn't able to reproduce...

We could check whether function calls are aggregations or not, e.g. this is ok `Sum(A) + Sum(B)` but this is not `A + B` or `Sum(A) + B` when `A`...

There is an MBQL lib function that does validation FYI