You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/11/12 07:07:00 UTC

[jira] [Work logged] (BEAM-960) JdbcIO should infer coder when possible (such as via RowMapper)

     [ https://issues.apache.org/jira/browse/BEAM-960?focusedWorklogId=680681&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-680681 ]

ASF GitHub Bot logged work on BEAM-960:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Nov/21 07:06
            Start Date: 12/Nov/21 07:06
    Worklog Time Spent: 10m 
      Work Description: pabloem commented on pull request #15954:
URL: https://github.com/apache/beam/pull/15954#issuecomment-966873846


   Run Java PostCommit


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 680681)
    Time Spent: 20m  (was: 10m)

> JdbcIO should infer coder when possible (such as via RowMapper)
> ---------------------------------------------------------------
>
>                 Key: BEAM-960
>                 URL: https://issues.apache.org/jira/browse/BEAM-960
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-jdbc
>            Reporter: Kenneth Knowles
>            Priority: P3
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> There are a few ways that we typically do this:
> # Inspect the static args of the class implementing {{RowMapper}} to determine the output type, then consult the coder registry. This method is more limited and not lambda-friendly.
> # For the a "functional interface" version, like {{RowMapper}} that allows setting the output type descriptor.
> # Also provide an abstract class-based version, for example accepting a {{SimpleFunction}} that will automatically have a rich output type descriptor.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)