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

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

                Author: ASF GitHub Bot
            Created on: 31/Aug/20 07:20
            Start Date: 31/Aug/20 07:20
    Worklog Time Spent: 10m 
      Work Description: codecov[bot] edited a comment on pull request #12655:
URL: https://github.com/apache/beam/pull/12655#issuecomment-683610461


   # [Codecov](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=h1) Report
   > Merging 
[#12655](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=desc) into 
[master](https://codecov.io/gh/apache/beam/commit/cfa448d121297398312d09c531258a72b413488b?el=desc)
 will **decrease** coverage by `0.00%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/beam/pull/12655/graphs/tree.svg?width=650&height=150&src=pr&token=qcbbAh8Fj1)](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #12655      +/-   ##
   ==========================================
   - Coverage   34.47%   34.46%   -0.01%     
   ==========================================
     Files         684      684              
     Lines       81483    81547      +64     
     Branches     9180     9182       +2     
   ==========================================
   + Hits        28090    28104      +14     
   - Misses      52965    53022      +57     
   + Partials      428      421       -7     
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=tree) | Coverage 
Δ | |
   |---|---|---|
   | 
[pipeline\_test.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-cGlwZWxpbmVfdGVzdC5weQ==)
 | `24.44% <0.00%> (-0.35%)` | :arrow_down: |
   | 
[io/mongodbio\_test.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-aW8vbW9uZ29kYmlvX3Rlc3QucHk=)
 | `34.95% <0.00%> (ø)` | |
   | 
[runners/direct/direct\_runner.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-cnVubmVycy9kaXJlY3QvZGlyZWN0X3J1bm5lci5weQ==)
 | `32.88% <0.00%> (ø)` | |
   | 
[io/gcp/experimental/spannerio.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-aW8vZ2NwL2V4cGVyaW1lbnRhbC9zcGFubmVyaW8ucHk=)
 | `34.49% <0.00%> (ø)` | |
   | 
[typehints/typed\_pipeline\_test.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-dHlwZWhpbnRzL3R5cGVkX3BpcGVsaW5lX3Rlc3QucHk=)
 | `21.98% <0.00%> (ø)` | |
   | 
[runners/worker/bundle\_processor.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-cnVubmVycy93b3JrZXIvYnVuZGxlX3Byb2Nlc3Nvci5weQ==)
 | `28.45% <0.00%> (ø)` | |
   | 
[runners/dataflow/dataflow\_runner\_test.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-cnVubmVycy9kYXRhZmxvdy9kYXRhZmxvd19ydW5uZXJfdGVzdC5weQ==)
 | `25.49% <0.00%> (ø)` | |
   | 
[runners/dataflow/ptransform\_overrides.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-cnVubmVycy9kYXRhZmxvdy9wdHJhbnNmb3JtX292ZXJyaWRlcy5weQ==)
 | `18.11% <0.00%> (ø)` | |
   | 
[pipeline.py](https://codecov.io/gh/apache/beam/pull/12655/diff?src=pr&el=tree#diff-cGlwZWxpbmUucHk=)
 | `22.33% <0.00%> (+0.01%)` | :arrow_up: |
   
   ------
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=footer). Last 
update 
[cfa448d...34348a0](https://codecov.io/gh/apache/beam/pull/12655?src=pr&el=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 476388)
    Time Spent: 50m  (was: 40m)

> Support multiple main inputs and side inputs for PTransformOverride
> -------------------------------------------------------------------
>
>                 Key: BEAM-10779
>                 URL: https://issues.apache.org/jira/browse/BEAM-10779
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>            Reporter: Yifan Mai
>            Assignee: Yifan Mai
>            Priority: P2
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Currently, {{PTransformOverride}} only supports overriding {{PTransform}} s 
> that have a [single  
> input|https://github.com/apache/beam/blob/cfa448d121297398312d09c531258a72b413488b/sdks/python/apache_beam/pipeline.py#L311-L317].
>  It would be useful to support multiple main inputs and side inputs as well.
> Proposal:
> * Introduce a new method {{PTransformOverride.get_replacement_inputs(self, 
> applied_ptransform)}} that can be overridden by end users. This method will 
> be called to get the inputs for the replacement PTransform.
> * The default implementation will return a tuple of all the main inputs in 
> order, concatenated with the all the side inputs {{PValue}} s in order.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to