malloydata / malloy

Malloy is an experimental language for describing data relationships and transformations.
http://www.malloydata.dev
MIT License
1.96k stars 76 forks source link

Using a nested "all(count)" with a filter outside the nest is busted #1765

Open bporterfield opened 2 months ago

bporterfield commented 2 months ago

What happens?

Imagine this cohort analysis: https://docs.malloydata.dev/documentation/patterns/cohorts but with a filter on the query (outside of the nest) to filter the user to specific country. This filter does not get applied appropriately to the all counts. @lloydtabb says he knows about this one.

To Reproduce

See above

OS:

macOS

Malloy Client:

local VSCode

Malloy Client Version:

latest

Database Connection:

Postgres