beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (BEAM-3818) Add support for the streaming side inputs in the Python DirectRunner
Date Sat, 17 Mar 2018 01:35:00 GMT

     [ https://issues.apache.org/jira/browse/BEAM-3818?focusedWorklogId=81477&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-81477
]

ASF GitHub Bot logged work on BEAM-3818:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Mar/18 01:34
            Start Date: 17/Mar/18 01:34
    Worklog Time Spent: 10m 
      Work Description: mariapython commented on a change in pull request #4838: [BEAM-3818]
Add support for streaming side inputs in the DirectRunner
URL: https://github.com/apache/beam/pull/4838#discussion_r175243837
 
 

 ##########
 File path: sdks/python/apache_beam/runners/direct/evaluation_context.py
 ##########
 @@ -67,8 +72,17 @@ class _SideInputsContainer(object):
   def __init__(self, views):
     self._lock = threading.Lock()
     self._views = {}
+    self._transform_to_views = collections.defaultdict(list)
+
     for view in views:
       self._views[view] = _SideInputView(view)
+      self._transform_to_views[view.pvalue.producer].append(view)
+
+  def __repr__(self):
+    views = ', '.join([
+        str(elm) for elm in self._views.values()
+        ] if self._views.values() else [])
 
 Review comment:
   Done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 81477)
    Time Spent: 1.5h  (was: 1h 20m)

> Add support for the streaming side inputs in the Python DirectRunner
> --------------------------------------------------------------------
>
>                 Key: BEAM-3818
>                 URL: https://issues.apache.org/jira/browse/BEAM-3818
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>            Reporter: María GH
>            Assignee: María GH
>            Priority: Minor
>             Fix For: 3.0.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> The streaming DirectRunner should support streaming side input semantics.  Currently,
side inputs are only available for globally-windowed side input PCollections.
> Also, empty side inputs cause a pipeline stall.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message