Skip to content

Option to disable Zero-filling of aggregateBy #189

Description

@SlowMo24

Problem
The MapAggregator class provides zero-filled results. This may generate a lot of undesired "zero" data entries.

Describe the solution you'd like
Zero-filling should be optional or disableable by a flag. For example:

mapaggregator.zerofill(false)

Additional context
When working with multiple aggregateBy steps, and/or relatively sparse datasets (e.g. aggregation by user ids), it's not uncommon that most entries in the zero-filled result are zero. In such cases, these zero entries are typically not of interest, and could in worst case be a significant waste of CPU time and memory.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpriority:lowShould be quite a far way down on the agendauser experienceEnhances the usability of OSHDB

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions