You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
ad-momo
changed the title
[PYTHON] - DoOutputsTuple force Tagged PCollection to is_bounded=True
[BUG] - DoOutputsTuple force Tagged PCollection to is_bounded=True
Oct 24, 2023
ad-momo
changed the title
[BUG] - DoOutputsTuple force Tagged PCollection to is_bounded=True
[BUG] - The Python DoOutputsTuple force Tagged PCollection to is_bounded=True
Oct 24, 2023
ad-momo
changed the title
[BUG] - The Python DoOutputsTuple force Tagged PCollection to is_bounded=True
[Bug] - The Python DoOutputsTuple force Tagged PCollection to is_bounded=True
Oct 24, 2023
# The Taggedoutput have to have same is_bounded state like the sourceinitial_get_item=DoOutputsTuple.__getitem__defnew_get_item(self: DoOutputsTuple, tag: int|str|None):
tag_not_in_pcolls=tagnotinself._pcollspcoll=initial_get_item(self, tag)
iftag_not_in_pcolls:
assertself.producerisnotNonepval=self.producer.parts[0].outputs[None]
# pass bounded statepcoll.is_bounded=pval.is_boundedreturnpcollDoOutputsTuple.__getitem__=new_get_item
Hello,
When you apply a beam.Partition on a unbounded PCollection, the tagged PCollections from DoOutputsTuple have is_bounded=True.
Normally, if the source is unbounded then the Pcollections from partition are unbounded too, no ?
beam/sdks/python/apache_beam/pvalue.py
Line 307 in bc06581
The text was updated successfully, but these errors were encountered: