Skip to content

Python sdk's PeriodicImpulse generates a bounded PCollection #21606

@damccorm

Description

@damccorm

See the dev mail list thread for details: https://lists.apache.org/thread/ps3m0jc0ngqp1y2s0mv2n6hxhvgkr3vw

PeriodicImpluse transform in Java sdk generates unbounded
PCollection; while in Python sdk it generates bounded PCollection. The
latter case may cause issues in streaming.

Per Cham: Note that the primary use-case of PeriodicImpulse (according to the design doc) was to
generate a fixed/bounded input that can slowly change over time but
changing over time dimension would make it unbounded.

Seems like we need to make python PeriodicImpulse generates an unbounded pcoll, in alignment with Java implementation, and also make sure that the change does not break the current implementation of its original use case (stream enrichment problem).

Imported from Jira BEAM-14498. Original Jira may contain additional context.
Reported by: yihu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions