Hi guys.

Sorry. I forgot to mention that.. I'm using python SDK.. Its seems that
Java SDK looks like more mature, but i have no skill on that language.

I'm trying to extract data from postgres (Cloud SQL), make some agregations
and save into BigQuery.

Em sex, 27 de set de 2019 19:21, Pablo Estrada <pabl...@google.com>
escreveu:

> Hi Lucas!
> Can you share more information about your use case? Java has JdbcIO. Maybe
> that's all you need? Or perhaps you're using Python SDK?
> Best
> -P.
>
> On Fri, Sep 27, 2019 at 3:08 PM Eugene Kirpichov <kirpic...@google.com>
> wrote:
>
>> Hi Lucas,
>> Any reason why you can't use JdbcIO?
>> You almost certainly should *not* use BoundedSource, nor Splittable DoFn
>> for this. BoundedSource is obsolete in favor of assembling your connector
>> from regular transforms and/or using an SDF, and SDF is an extremely
>> advanced feature whose primary audience is Beam SDK authors.
>>
>> On Fri, Sep 27, 2019 at 2:52 PM Lucas Magalhães <
>> lucas.magalh...@paralelocs.com.br> wrote:
>>
>>> Hi guys.
>>>
>>> I'm new on apache Beam and o would like some help to undestand some
>>> behaviours.
>>>
>>> 1. Is there some performance issue when i'm reading data from a
>>> relational database using a ParDo instead of BoundedSource?
>>>
>>> 2. If I'm going to implement a BoundedSource how does Beam manage the
>>> connection? I need to open and close in every method, like split, read,
>>> estimete size and so on??
>>>
>>> 3. I read something about splittable dofn but i didnt fine instructions
>>> about to How implement. Has anyone have something about ir?
>>>
>>> Thanks
>>>
>>>
>>>
>>>

Reply via email to