Skip to content

Distinct KDocs are wrong #1434

@Jolanrensen

Description

@Jolanrensen

The KDocs of distinct actually show the docs of distinctBy {}:

Image

This is not how distinct { cols } functions. Distinct with columns is a shortcut for select { cols }.distinctBy { all() }.
So,
distinctBy: Removes duplicated rows based on the specified columns.
distinct: Selects the specified columns keeping only distinct rows

Metadata

Metadata

Assignees

Labels

KDocsImprovements or additions to KDocs

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions