Hello Pablo! The "JdbcIO.Write" allows you to write rows without a statement or statement preparer, but not all functionality works without them. The method "WithResults" requires a statement and statement preparer. And also the ticket<https://issues.apache.org/jira/browse/BEAM-10396> and "// TODO: BEAM-10396 use writeRows() when it's available"<https://github.com/apache/beam/blob/master/sdks/java/io/jdbc/src/main/java/org/apache/beam/sdk/io/jdbc/JdbcSchemaIOProvider.java#L142> appeared later than this functionality was added to "JdbcIO.Write". And without reading the code, just the documentation, it's not clear that the schema is enough.Thank you, Raphael.
________________________________ От: Pablo Estrada <pabl...@google.com> Отправлено: 7 июня 2021 г. 22:43:24 Кому: dev; Reuven Lax Копия: Ilya Kozyrev Тема: Re: ******* This Message Is From an External Sender ******* +Reuven Lax<mailto:re...@google.com> do you know if this is already supported or not? I have been able to use `JdbcIO.write()` without specifying a statement nor a statement preparer. Is that not what's necessary? I've done this with a named class with schemas (i.e. not Row) - is this perhaps the difference? Best -P. On Fri, Jun 4, 2021 at 3:44 PM Robert Bradshaw <rober...@google.com<mailto:rober...@google.com>> wrote: That would be great! I don't know much about this particular issue, but tips for getting started in general can be found at https://beam.apache.org/contribute/ On Thu, Jun 3, 2021 at 10:55 AM Raphael Sanamyan <raphael.sanam...@akvelon.com<mailto:raphael.sanam...@akvelon.com>> wrote: > > Hi, community, > > I would like to start work on this task beam-10396, I hope nobody minds? > Also, if anyone has any details or developments on this task, I would be glad > if you could share them. > > Thank you, > Raphael. > >