Skip to content

limit and distinct don't work together properly #1560

@shcheklein

Description

@shcheklein

Description

It seems that:

for i in range(loops):
        c = dc.read_dataset(dataset_name).limit(limit).distinct("session_id", "person.position").count()
        print(f"loop_{i}:", c)

return same limit, even if there are duplicates. persist() after limit helps.

Version Info


Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions