cisaacstern commented on PR #27618:
URL: https://github.com/apache/beam/pull/27618#issuecomment-1868155004
A final note to self for now, which is simple that I am now seeing side
input mapping probably needs to happen at the pipeline visitor level... where
we have access to context like:
```python
/.../beam/sdks/python/apache_beam/runners/dask/dask_runner.py(150)visit_transform()
-> inputs = list(transform_node.inputs)
(Pdb) transform_node.inputs
(<PCollection[main.None] at 0x131e7ac50>,)
(Pdb) transform_node.side_inputs
[<apache_beam.pvalue._UnpickledSideInput object at 0x131e58130>]
(Pdb) transform_node
AppliedPTransform(Map(mult_by), ParDo)
(Pdb) op
ParDo(applied=AppliedPTransform(Map(mult_by), ParDo))
(Pdb) op_class
<class 'apache_beam.runners.dask.transform_evaluator.ParDo'>
(Pdb)
```
Ok... to be continued soon...
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]