[ 
https://issues.apache.org/jira/browse/BEAM-14230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17528485#comment-17528485
 ] 

Ronoaldo Pereira commented on BEAM-14230:
-----------------------------------------

I'm testing a pipeline to read from PostgreSQL and if I add a query parameter, 
it has no effect. Also, if I add the fetch_size I get a very weird Java 
exception regarding EOF.

This makes the sample code from the jdbc.ReadFrom almost unusable. Is there a 
way to help fixing this?

> Python JDBC API don't recognize "statement" parameter
> -----------------------------------------------------
>
>                 Key: BEAM-14230
>                 URL: https://issues.apache.org/jira/browse/BEAM-14230
>             Project: Beam
>          Issue Type: Bug
>          Components: cross-language
>    Affects Versions: 2.35.0
>            Reporter: Deepak Nagaraj
>            Assignee: Pablo Estrada
>            Priority: P1
>
> JDBC [write 
> API|https://beam.apache.org/releases/pydoc/2.35.0/apache_beam.io.jdbc.html?highlight=jdbc#apache_beam.io.jdbc.WriteToJdbc]
>  allow a "statement" parameter to pass custom INSERT statements (e.g. 
> UPSERTs).
> However, when I pass a "statement" parameter in 
> apache_beam.io.jdbc.WriteToJdbc(), I still see the usual INSERT coming in my 
> Postgres logs.
> Additional context in this mailing list thread.
> https://lists.apache.org/thread/doy941o8f6lg5jq47vvftbcfg3849ztc



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to