You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Chris Gray (Jira)" <ji...@apache.org> on 2021/09/22 19:08:00 UTC

[jira] [Updated] (BEAM-12925) JdbcIo readRows does not handle null numerical values properly

     [ https://issues.apache.org/jira/browse/BEAM-12925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Gray updated BEAM-12925:
------------------------------
    Summary: JdbcIo readRows does not handle null numerical values properly  (was: JDBCIO readRows does not handle null numerical values properly)

> JdbcIo readRows does not handle null numerical values properly
> --------------------------------------------------------------
>
>                 Key: BEAM-12925
>                 URL: https://issues.apache.org/jira/browse/BEAM-12925
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-jdbc
>    Affects Versions: 2.32.0
>            Reporter: Chris Gray
>            Priority: P2
>
> Numerical values that are SQL NULL in the database are converted to 0 when read by `readRows`.  This appears to be caused by SchemaUtil.java not checking `ResultSet::wasNull` at line 253 in version 2.32.0.  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)