Streaming inserts BQ with Java SDK Beam

2019-05-07 Thread Andres Angel
Hello everyone, I need to use BigQuery inserts within my beam pipeline, hence I know well the built-in IO options offer `BigQueryIO`, however this will insert in a batch fashion to BQ creating underneath a BQ load job. I instead need to trigger a streaming insert into BQ, and I was reviewing the J

Re: Streaming inserts BQ with Java SDK Beam

2019-05-07 Thread Andres Angel
s, Beam should insert rows as they > come in bundles. > Hope that helps > -P. > > [1] > https://beam.apache.org/releases/javadoc/2.11.0/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.Write.html#withMethod-org.apache.beam.sdk.io.gcp.bigquery.BigQueryIO.Write.Method- > >

Re: [ANNOUNCE] Spark portable runner (batch) now available for Java, Python, Go

2019-06-17 Thread Andres Angel
Really great achievement!!! congrats. On Mon, Jun 17, 2019 at 7:49 AM Robert Bradshaw wrote: > Excellent work, very excited to see this! > > On Fri, Jun 14, 2019 at 11:02 PM Kyle Weaver wrote: > >> Hello Beamers, >> >> I'm happy to announce that the portable Spark runner is now mostly >> featur

Re: Live fixing of a Beam bug on July 25 at 3:30pm-4:30pm PST

2019-07-25 Thread Andres Angel
Awesome Pablo thanks so much!!! AU On Thu, Jul 25, 2019 at 7:48 PM Pablo Estrada wrote: > Thanks for those who tuned in : ) - I feel like I might have spent too > long fiddling with Python code, and not long enough doing setup, testing, > etc. I will try to do another one where I just test

Transform a PCollection> into PCollection (Java)

2019-05-01 Thread Andres Angel
Hello everyone, Guys I'm trying to consume a kafka topic within my job pipeline, the main idea is firs read the payload from the kafka topic using KafkaIO, this read will return a PCollection> then I want to turn this into a PCollection> where later I might be able to read the V and turn it into a

Re: Transform a PCollection> into PCollection (Java)

2019-05-01 Thread Andres Angel
Let me update my code guys, here is the new version: https://pastebin.com/UdT4D7VW On Wed, May 1, 2019 at 11:10 AM Juan Carlos Garcia wrote: > Hi Andres, > > You are missing the call to pipeline method *run()* > > JC > > On Wed, May 1, 2019 at 4:35 PM Andres Angel

Re: Transform a PCollection> into PCollection (Java)

2019-05-02 Thread Andres Angel
Wed, May 1, 2019 at 5:27 PM Andres Angel < > ingenieroandresan...@gmail.com> wrote: > >> Let me update my code guys, here is the new version: >> https://pastebin.com/UdT4D7VW >> >> >> >> On Wed, May 1, 2019 at 11:10 AM Juan Carlos Garcia >>