Hi,
what is the best way to do some operation combining two PCollectionView 
instances that's not involving any PCollection processing? So far I've been 
running it on some fake PCollection of single element and passing the views as 
sideinputs:
pipeline.apply(Create.of(fake_element)).apply(ParDo.of(...).withSideInputs(view1,
 view2)))...
but the need for fake pcollection is bit awkward so wondering if it can be 
avoided?
I can see in beam v2.0.0 there is PCollectionView.getPCollection() so I could 
theoretically use one of the views using main input and the other as 
sideinput... but the .getPCollection() is annotated as internal so I guess 
that's not to be used.
thanks,antony.

Reply via email to