Hi Reuven,

Yes, for now this is a bounded PCollection.

Thanks & Regards
Rajnil Guha

On Mon, Jul 19, 2021 at 12:02 AM Reuven Lax <re...@google.com> wrote:

> Is this a bounded collection?
>
> On Sun, Jul 18, 2021, 11:17 AM Rajnil Guha <rajnil94.g...@gmail.com>
> wrote:
>
>> Hi Beam Users,
>>
>> I have a use-case where I need to check whether a Pcollection is empty or
>> not. If it's not empty I need to write a message to a Pub/Sub topic. I am
>> using the Python SDK and Dataflow to write and run my pipelines
>> respectively. I searched but could not come across any concrete way on how
>> to check whether a Pcollection is empty or not using Python and how to take
>> action based on the check. Is there any way to implement this using Beam.
>>
>> Thanks & Regards
>> Rajnil Guha
>>
>

Reply via email to