Sorry, no Java versions of this stuff (though it may be possible to use cross-language to invoke your Java pipeline from Python and get the benefits that way).
On Fri, Apr 30, 2021 at 11:30 AM Tao Li <t...@zillow.com> wrote: > > Thanks @Ning Kang. > > @Robert Bradshaw I assume you are referring to > https://beam.apache.org/releases/pydoc/2.22.0/apache_beam.runners.interactive.interactive_beam.html. > Is there a java version for it? > > > > On 4/30/21, 11:00 AM, "Robert Bradshaw" <rober...@google.com> wrote: > > You can also use interactive Beam's collect, to get the PCollection as > a Dataframe, and then print it or do whatever else with it as you > like. > > On Fri, Apr 30, 2021 at 10:24 AM Ning Kang <ni...@google.com> wrote: > > > > Hi Tao, > > > > The `show()` API works with any IPython notebook runtimes, including > Colab, Jupyter Lab and pre-lab Jupyter Notebooks, as long as you have `%pip > install apache-beam[interactive]`. > > > > Additionally, the `show_graph()` API needs GraphViz binary installed, > details can be found in the README. > > > > If you've created an Apache Beam notebook instance on Google Cloud, > there is an example notebook "Examples/Visualize_Data.ipynb" demonstrating > how to visualize data of PCollections with different libraries: > > > > Native Interactive Beam Visualization > > Pandas DataFrame > > Matplotlib > > Seaborn > > Bokeh > > D3.js > > > > Hope this helps! > > > > Ning > > > > On Fri, Apr 30, 2021 at 9:24 AM Brian Hulette <bhule...@google.com> > wrote: > >> > >> +Ning Kang +Sam Rohde > >> > >> On Thu, Apr 29, 2021 at 6:13 PM Tao Li <t...@zillow.com> wrote: > >>> > >>> Hi Beam community, > >>> > >>> > >>> > >>> The notebook console from Google Cloud defines a show() API to > display a PCollection which is very neat: > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcloud.google.com%2Fdataflow%2Fdocs%2Fguides%2Finteractive-pipeline-development&data=04%7C01%7Ctaol%40zillow.com%7Cc17e88a15ae34f84412908d90c01d404%7C033464830d1840e7a5883784ac50e16f%7C0%7C0%7C637554024259762896%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=6tm5K%2BwZhuNhBtxsCu4AIHtBZpoTj2kgfHkeDzjLQ1g%3D&reserved=0 > >>> > >>> > >>> > >>> If we are using a regular jupyter notebook to run beam app, how can > we print out a PCollection easily? What’s the best practice? Thanks! > >>> > >>> >