Skip to content

Simplified parallel API #40

@RagnarGrootKoerkamp

Description

@RagnarGrootKoerkamp

Instead of a dedicated mapper struct, in cases where on_batch_complete is not needed, a much simpler version that directly takes a closure may be sufficient?

Something like, reader.process_parallel(|record| { ... }).

But I suppose one benefit of the current approach is to accumulate per thread, in which case the mapper struct seems inevitable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions