Skip to content

docs: remove deprecated count_distinct from aggregate.md#5865

Merged
max-sixty merged 2 commits into
mainfrom
docs/aggregate-count-distinct-deprecated
May 8, 2026
Merged

docs: remove deprecated count_distinct from aggregate.md#5865
max-sixty merged 2 commits into
mainfrom
docs/aggregate-count-distinct-deprecated

Conversation

@prql-bot
Copy link
Copy Markdown
Collaborator

@prql-bot prql-bot commented May 8, 2026

The aggregate transform docs list count_distinct alongside other aggregation functions. In prqlc/prqlc/src/semantic/std.prql:162, count_distinct is annotated @{deprecated} in favor of filtering input to std.count. Drop it from the docs so readers don't reach for it as a current option.

Found during nightly code survey.

The function is annotated @{deprecated} in std.prql but the docs list it
without that note.
@max-sixty
Copy link
Copy Markdown
Member

remove deprecated things from docs

Per maintainer feedback, drop the deprecated function from the list rather than marking it deprecated.
@prql-bot prql-bot changed the title docs: note count_distinct is deprecated in aggregate.md docs: remove deprecated count_distinct from aggregate.md May 8, 2026
@prql-bot
Copy link
Copy Markdown
Collaborator Author

prql-bot commented May 8, 2026

Updated to drop count_distinct from the list entirely (3bef854).

@max-sixty max-sixty enabled auto-merge (squash) May 8, 2026 18:24
@max-sixty max-sixty merged commit 9e749bf into main May 8, 2026
38 checks passed
@max-sixty max-sixty deleted the docs/aggregate-count-distinct-deprecated branch May 8, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants