[
https://issues.apache.org/jira/browse/BEAM-14294?focusedWorklogId=765236&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-765236
]
ASF GitHub Bot logged work on BEAM-14294:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 03/May/22 00:29
Start Date: 03/May/22 00:29
Worklog Time Spent: 10m
Work Description: robertwb commented on code in PR #17384:
URL: https://github.com/apache/beam/pull/17384#discussion_r863277468
##########
sdks/python/apache_beam/utils/windowed_value.pxd:
##########
@@ -43,6 +43,23 @@ cdef class WindowedValue(object):
cpdef WindowedValue with_value(self, new_value)
+cdef class WindowedBatch(object):
+ cpdef WindowedBatch with_values(self, object new_values)
+
+cdef class HomogeneousWindowedBatch(WindowedBatch):
+ cdef public WindowedValue _wv
Review Comment:
Yeah, it doesn't know the type of other. I suppose making this public isn't
any worse than plain-vanilla Python. (The alternative is to cast, but that is
less clean with our hybrid works-in-pure-and-compiled mode.)
Issue Time Tracking
-------------------
Worklog Id: (was: 765236)
Time Spent: 3h 10m (was: 3h)
> MVP for SDK worker changes to support process_batch
> ---------------------------------------------------
>
> Key: BEAM-14294
> URL: https://issues.apache.org/jira/browse/BEAM-14294
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-py-core
> Reporter: Brian Hulette
> Assignee: Brian Hulette
> Priority: P2
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> The initial MVP may only work in some restricted circumstances (e.g.
> @yields_element on process_batch, or batch-to-batch without a 1:1
> input:output mapping might not be supported). These cases should fail early.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)