Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad9b0dc commit 20370cbCopy full SHA for 20370cb
1 file changed
sdks/python/apache_beam/runners/direct/direct_runner.py
@@ -141,11 +141,15 @@ def visit_transform(self, applied_ptransform):
141
if userstate.is_stateful_dofn(dofn):
142
# https://github.com/apache/beam/issues/32786 -
143
# Remove once Real time clock is used.
144
- _, timer_specs = userstate.get_dofn_specs(dofn)
+ state_specs, timer_specs = userstate.get_dofn_specs(dofn)
145
for timer in timer_specs:
146
if timer.time_domain == TimeDomain.REAL_TIME:
147
self.supported_by_prism_runner = False
148
149
+ for state in state_specs:
150
+ if isinstance(state, userstate.CombiningValueStateSpec):
151
+ self.supported_by_prism_runner = False
152
+
153
# Use BundleBasedDirectRunner if other runners are missing needed features.
154
runner = BundleBasedDirectRunner()
155
0 commit comments