Skip to content

All algorithms should be usable with generic containers #622

@antiguru

Description

@antiguru

Differential offers many algorithms that absorb input data in some form. Most (all?) are compatible with vector-based data, and some support generic containers, or specific instances of containers other than vectors. We'd like to support generic containers or make it possible to easily integrate new specific containers for all parts of Differential. Here's an overview where we stand:

  • arrange_core: Can absorb all data for which we have a merge batcher.
  • Merge batcher: Generic over input/output data, but sometimes lacks flexibility, and is complex.
    • The merge batcher should not name Input, but be generic over some variant of Push.
  • Half-join: Requires Vec
  • Collection: Type can have generic containers, names owned D/T/R, but not very usable for other containers than Vec.
    • Map only for Vec
    • map_in_place
    • flat_map
    • filter
    • explode
    • join_function
    • enter/leave
    • enter_at
    • delay
    • inspect
    • inspect_batch
    • assert_empty: needs consolidate
    • consolidate/consolidate_named: Work-around to build arrangement.
    • consolidate_stream: Uses ConsolidatingContainerBuilder
    • negate is aware of containers (trait operators::Negate), but generic parameters are in wrong order. See Introduce EnterTime, fix Negate #587
  • ConsolidatingContainerBuilder
  • Remove TimelyStack

There are a bunch of types that we don't use a lot, so the list is likely incomplete.

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