Hi Satyasheel,

It may help if you provide a small piece of example XML, what the POJO
looks like, and the row that you want to write to BigQuery.

Kenn

On Mon, Oct 8, 2018 at 6:39 AM Satya Sheel <[email protected]> wrote:

> Hi All,
>
> I am satyasheel working on a project which includes beam (dataflow as
> runner) to process streaming data from pubsub.
>
> My question might sound noob here, so please bare with me. I am parsing a
> XML with more than 1000 unique tags and after some usual processing we are
> sinking it to BQ. The schema we have in BQ is nested and and some are
> repeated as well. The question I asking might be more related to JAVA.
>
> What I am doing write now is reading XML --> to POJO --> Some processing
> --> BQ table row. While converting PCollections to BQ table row I am
> writing huge no of *setters *which is quite manual and not efficient. I
> was wondering if the community has some trick for this. I know there is a
> method called *JsonToRow *but I am struggling to get some working
> example.
>
> Any help is appreciated.
>
> Regards,
> Satyasheel
>
>

Reply via email to